Question

I have a GPRS modem that I use with a PPP connection in an embedded Linux ; I need to get the modem hour while the connection is active, and for that I would like to use AT commands. But I have no idea how to send these commands to the modem...

I tryed with chat but it doesn't work the way I want, do you know how we can do this ? Send commands and get the return

Thanks !

Was it helpful?

Solution

I make serial connections all day long from linux with PuTTY. After you find which device the serial line is (as well as the baud rate/stop-bits/pairty/flow-control), then use the terminal and send your ascii AT commands.

Your terminal could be minicom, picocom, putty or the like.

If you like python, pyserial is another option

OTHER TIPS

If your modem supports GSM07.11 multiplexer, then you may use it. One channel for pppd (or other ppp daemon) and other channel for AT commands.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top