Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: help needed with serial comm

2005-12-07 by bdmlpc

--- 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

Oooops, I've forgotten something important: Before you can configure
your GSM modem you have to supply your PIN or SuperPIN to register to
GSM service! If you using the modem for the first time, check provider
 settings.
When you initalizing your link using PPP+LCP you also have to
activate/configure some link features like LPC echos, magic number
support, header compression and/or your ASYNC map. Make sure that all
the special characters (e.g. +) are substituted by your ASYNC map or
you might become very funny and unexplainable effects of system,
especailly with your modem connection!

   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/
> 
> ************************************************/
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.