Tag Info

New answers tagged

0

Doing AT command communication from the command line with just plain shell operations is rather unreliable. I suggest that you try to use the program atinout which is specifically written to issue AT command from the command line: $ echo AT | atinout - /dev/ttyUSB0 - AT OK $


2

As long as the device is used for ppp traffic, it is not possible to run AT commands at the same time1. For this reason all modern modems will provide more than one serial interfaces, e.g. /dev/ttyUSB0 and /dev/ttyUSB1 (or /dev/ttyACM0 and /dev/ttyACM1 for USB CDC modems on linux). Back in the days when phones had RS-232 compatible connectors (perhaps with ...


0

The best way to send AT commands to a modem in Linux is to use the program atinout which is written with the sole purpose of sending AT commands to a modem from the command line. You can use it to test if a modem is up and running, make a backup of the phone book: $ atinout - /dev/ttyACM0 ten_first_phonebook_entries.txt <<EOF at+cscs="UTF-8" ...



Top 50 recent answers are included