'''AT commands''' ("AT" meaning 'attention') are instructions used to control a modem.
'''AT commands''' ("AT" meaning 'attention') are instructions used to control a modem.
−
+
__TOC__
==Summary==
==Summary==
Line 6:
Line 6:
==gsmctl commands==
==gsmctl commands==
+
+
'''gsmctl''' is a set of shell commands that can request information from or perform operations on a modem. In other words, gsmctl is a way to use AT commands in shell form.
-p, --ip <INTERFACE> Get IP of logical interface
-p, --ip <INTERFACE> Get IP of logical interface
Line 11:
Line 13:
-r, --brecv <INTERFACE> Get number of bytes recieved
-r, --brecv <INTERFACE> Get number of bytes recieved
-j, --connstate Get 3G connection state
-j, --connstate Get 3G connection state
+
+
==AT command usage==
+
+
To use a specific AT command via SSH, you can use the ''gsmctl -H''. After this your console will enter shell mode where you can then just type AT commands in their regular format. Or you can use ''gsmctl -A <AT_COMMAND>'' to execute AT commands one at a time.