Changes

997 bytes added ,  17:16, 21 February 2018
Line 90: Line 90:  
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. Continuing from the example above, lets say you want to find out the RSSI value. While there are quite a few commands that can be used to achieve this goal, lets use the '''AT+CSQ''' that is used when executing ''gsmctl -q'':
 
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. Continuing from the example above, lets say you want to find out the RSSI value. While there are quite a few commands that can be used to achieve this goal, lets use the '''AT+CSQ''' that is used when executing ''gsmctl -q'':
   −
# gsmctl -A AT
+
[[File:At csq.png]]
 +
 
 +
As you can see this time the command returns two values instead of one, and they don't directly represent the RSSI value as with ''gsmctl -q''. The reason for this is that AT+CSQ indicates the received signal strength '''<rssi>''' and the channel bit error rate '''<ber>''' and the numbers returned are not the direct values but rather the representation of the direct values.
 +
 
 +
<rssi>
 +
0              -113dBm or less
 +
1              -111dBm
 +
2...30        -109dBm... -53dBm
 +
31            -51dBm or greater
 +
99            Not known or not detectable
 +
100            -116dBm or less
 +
101            -115dBm
 +
102...190      -114dBm...-26dBm
 +
191            -25dBm or greater
 +
199            Not known or not detectable
 +
100~199        Extended to be used in TD-SCDMA indicating received signal code power (RSCP)
 +
 
 +
<ber>          Channel bit error rate (in percent)
 +
0...7          As RXQUAL values in the table in 3GPP TS 45.008 subclause 8.2.4
 +
99            Not known or not detectable
 +
 
    
<rssi> 0
 
<rssi> 0