Hello Sir, What is ur application.Do u want to send data to server by using GSM. Ur GSM must be in GPRS mode. First Check ur GSM by giving AT<cr><lf>.The GSM will respond with the same AT<CR><LF> with OK. After Getting the Message u should know ur Network and Signal Strength. give the commands AT+CSQ<CR><LF> and AT+CREG<CR><LF> and check the signal strength and the Network strength. After checking these things put ur GSM into modem and send the formate of AT Command. After u receive CONNECT u can get or post ur data to the server. On the server side ur page must receive the data.If u want u can give response in the UDP and that can be used as handshake. I done these by sending data to the server by using GPRS.It worked fine. I want to know more about ur projects, so that i can help u. with cheers, Rajendra R --- In lpc2000@yahoogroups.com, Sten <list@n...> wrote: > > 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: help needed with serial comm
2005-12-07 by rockraj_2003
Attachments
- No local attachments were found for this message.