bhimanipankaj wrote: > Dear ARMyyyyyyyyyyyyyyyyiiiiiiiiieeeeeeeeeessssss > > I am here with very newbies question, but tuff one for me atleast. > > I am interfacing an GSM modem with Serial port of lpc2214, now my > application is to send the data from memory(which is interfaced with > LPC2214), to the calling server. > > Reading all the AT command set i couldn't find that can help me, so > need your help that wht AT commands are to be used or wht else I need > to do. > > Thanks and Regards, > Pankaj Bhimani > Mmmmmh... First reset your modem (e.g. atz<CR> or at&f<CR>), change some configuration registers in your modem with the apropriated AT commands, then call your remote server (e.g. atdXXXXXXX<CR>). After you get the connect message you are switched to data mode and can initiate registration of your transport protocol (usually PPP with LCP), maybe authenticate yourself (e.g. with CHAP or PAP), obtain a dynamic IP address and/or other network information (DNS, ...) using LCP protocol, register higher level protocols (IP/ICMP/IGMP plus TCP/UDP and higher) and then send your data to your server. Finally close/unregister all protocol layers, switch back to AT command mode (using standard sequence +++<CR> or what you have defined in your modem registers) and close GSM connection (e.g. ath<CR>). Now you may switch modem into suspend or sleep mode (depending on your modem). That's it! Sten -- /************************************************ Do you need a tiny and efficient real time operating system (RTOS) with a preemtive multitasking for LPC2000 or AT91SAM7? http://nanortos.net-attack.de/ Or some open-source tools and code for LPC2000? http://www.net-attack.de/ ************************************************/
Message
Re: [lpc2000] help needed with serial comm
2005-12-07 by Sten
Attachments
- No local attachments were found for this message.