Changes

533 bytes added ,  09:25, 22 February 2018
Line 113: Line 113:  
So the response above indicates that the RSSI value is '''-75 dBm''' (because that's what 19 represents since it falls in the 2..30 range) and the channel bit error rate is '''Not known or not detectable''' (because that's what 99 represents).
 
So the response above indicates that the RSSI value is '''-75 dBm''' (because that's what 19 represents since it falls in the 2..30 range) and the channel bit error rate is '''Not known or not detectable''' (because that's what 99 represents).
 
----
 
----
As another example, lets try to get network operator information.  
+
As another example, lets try to get network operator information. For this task you can use either '''gsmctl -o''' or '''AT+COPS?'''. For this example we'll use them both and analyze the differences:
   −
+COPS: <mode>[,<format>[,<oper>][,<Act>]]
+
[[File:At cops.png]]
 +
 
 +
As you can see, ''gsmctl'' returns a more user friendly value while ''AT+COPS?'' returns raw data. The response format of the ''AT+COPS?'' is '''+COPS: <mode>[,<format>[,<oper>][,<Act>]]'''. Explanations for individual values are provided below.
    
  <oper>        Operator in format as per <mode>
 
  <oper>        Operator in format as per <mode>
Line 142: Line 144:  
  7              E-UTRAN
 
  7              E-UTRAN
 
  100            CDMA
 
  100            CDMA
 +
 +
Instead of the operator's name, ''AT+COPS?'' returns operator's code, in this case, '''24602''', while gsmctl converts the code into the name of the operator (LT BITE GSM).
    
==External links==
 
==External links==
    
PuTTY download - '''https://www.putty.org/'''
 
PuTTY download - '''https://www.putty.org/'''

Navigation menu