To improve the user experience on this site we use cookies. I agree | I disagree

Executing AT commands

In category Routers .


Our routers use the GSM module for connection to mobile network which is main function of our routers. All setting of GSM module is done inside the firmware for arrangement of reliable connection to mobile network. The command "gsmat" is most especially determined for monitoring of the GSM module. Of course, it can be used also for setting of the GSM module but we cannot recommend it.

Simply said, our routers are "routers" not modems. The command "gsmat" is additional function of our routers. It can be used for all commands (supported by GSM module) in so called "Non-exclusive access". If you need and you know what you do, you can use so called "Exclusive access". This access stops all communication with mobile network and then it can be used for all communication with the GSM module. These accesses are determined mostly for engineers who know what they do, for debugging cellular network and debugging of connection to mobile network. Unfortunately, in these cases we are not able to do a support.


Non-exclusive access

1. Connect to the router via SSH or Telnet

2. Execute AT command using program gsmat

# gsmat ATI

# gsmat AT+CMGL=\"ALL\"

# gsmat 'AT+CMGL="ALL"'

Please note that double quotes, dollar signs and semicolons need to be escaped with backslashes or the whole AT command need to be enclosed in single quotes.


Exclusive access

1. Connect to the router via SSH or Telnet

2. Stop the Mobile WAN service

# service ppp stop

3. Start the TCP/USB proxy

# portd -c /dev/ttyUSB8 -t 8000 &

4. Connect to the TCP port 8000

5. Execute AT command

Please note that /dev/ttyUSB8 works for most cellular modules, but there are some exceptions (see the table on this link).



To the FAQ overview