Changes

no edit summary
Line 18: Line 18:  
''gsmctl'' commands are used in tandem with various options that specify what type of action should be executed.
 
''gsmctl'' commands are used in tandem with various options that specify what type of action should be executed.
 
----
 
----
   
'''Example structure'''
 
'''Example structure'''
   Line 252: Line 251:  
----
 
----
 
To obtain the modem's serial number, use '''''-a''''' or '''''--serial''''' options.
 
To obtain the modem's serial number, use '''''-a''''' or '''''--serial''''' options.
 +
    
'''Usage syntax''':
 
'''Usage syntax''':
Line 273: Line 273:  
'''Usage syntax''':
 
'''Usage syntax''':
   −
  gsmctl <span style="color:blue;">-y</span>, <span style="color:blue;">--firmware</span>
+
  gsmctl <span style="color:blue;">-y</span>, <span style="color:blue;">--revision</span>
    
'''Example''': obtaining the modem's revision number:
 
'''Example''': obtaining the modem's revision number:
Line 321: Line 321:  
*not inserted
 
*not inserted
   −
  −
===Get PIN state===
  −
----
  −
To obtain the PIN state of the SIM card currently in use, use '''''-u''''' or '''''--pinstate''''' options.
  −
  −
'''Usage syntax''':
  −
  −
gsmctl <span style="color:blue;">-u</span>, <span style="color:blue;">--pinstate</span>
  −
  −
'''Example''': obtaining the PIN state:
  −
  −
root@Teltonika:~# gsmctl <span style="color:blue;">-u</span>
  −
<span style="color:red;">OK</span>
  −
  −
'''Possible responses''':
  −
  −
*OK
  −
*SIM not inserted.
      
===Get GSM signal (RSSI) level===
 
===Get GSM signal (RSSI) level===
Line 353: Line 335:  
  <span style="color:red;">-55</span>
 
  <span style="color:red;">-55</span>
   −
<b>Note</b>: From FW version <i>R_00.07.03</i> this argument returns all signal related values.  
+
<b>Note</b>: From FW version <i>R_00.07.03</i> this argument returns all signal related values. Example:
*Example for <b>3G</b> network type:
  −
 
  −
root@Teltonika:~# gsmctl -q
  −
RSSI: -67
  −
RSCP: -68
  −
ECIO: -5
     −
*Example for <b>4G</b> network type:
   
  root@Teltonika:~# gsmctl -q
 
  root@Teltonika:~# gsmctl -q
  RSSI: -60
+
  RSSI: -69
 
  RSRP: -103
 
  RSRP: -103
 
  SINR: 2
 
  SINR: 2
Line 585: Line 560:  
  gsmctl <span style="color:blue;">-B</span>, <span style="color:blue;">--pincount</span>
 
  gsmctl <span style="color:blue;">-B</span>, <span style="color:blue;">--pincount</span>
   −
'''Example''': obtaining PIN/PUK count:
+
'''Example''': obtaining the
    
  root@Teltonika:~# gsmctl <span style="color:blue;">-B</span>
 
  root@Teltonika:~# gsmctl <span style="color:blue;">-B</span>
  <span style="color:red;">S1_PIN: 3 | S1_PUK: 10
+
  <span style="color:red;">3</span>
S2_PIN: 3 | S2_PUK: 10</span>
      
'''Possible responses''':
 
'''Possible responses''':
    
*an integer number representing the amount of PIN/PUK attempts left
 
*an integer number representing the amount of PIN/PUK attempts left
 +
*N/A - returned when the SIM card is not inserted
      Line 599: Line 574:  
----
 
----
 
To obtain information related to the mobile network information, use '''''-F''''' or '''''--network''''' options.
 
To obtain information related to the mobile network information, use '''''-F''''' or '''''--network''''' options.
 +
 +
    
'''Usage syntax''':
 
'''Usage syntax''':
Line 621: Line 598:  
  root@Teltonika:~# gsmctl -F
 
  root@Teltonika:~# gsmctl -F
 
  LTE | LTE_B3 | 24602
 
  LTE | LTE_B3 | 24602
      
===Get serving cell information===
 
===Get serving cell information===
Line 642: Line 618:  
  root@Teltonika:~# gsmctl -K
 
  root@Teltonika:~# gsmctl -K
 
  Access tech: LTE | TDD mode: FDD | MCC: 246 | MNC: 2 | UE state: 3
 
  Access tech: LTE | TDD mode: FDD | MCC: 246 | MNC: 2 | UE state: 3
      
===Get neighbour cell information===
 
===Get neighbour cell information===
Line 656: Line 631:  
  root@Teltonika:~# gsmctl <span style="color:blue;">-I</span>
 
  root@Teltonika:~# gsmctl <span style="color:blue;">-I</span>
 
  <span style="color:red;">+QENG: "neighbourcell intra","LTE",522,269,-9,-87,-58,0,-,-,-,-,-</span>
 
  <span style="color:red;">+QENG: "neighbourcell intra","LTE",522,269,-9,-87,-58,0,-,-,-,-,-</span>
      
===Get VoLTE state status===
 
===Get VoLTE state status===
Line 792: Line 766:     
*a string type output indicating the ''gsmctl'' version
 
*a string type output indicating the ''gsmctl'' version
      
==SMS management options==
 
==SMS management options==
Line 938: Line 911:     
*If response in terminal "OK", SMS was sent successfully.
 
*If response in terminal "OK", SMS was sent successfully.
      
==Auxiliary options==
 
==Auxiliary options==