Changes

70 bytes added ,  13:09, 30 July 2018
Line 99: Line 99:  
===Get network connection state===
 
===Get network connection state===
 
----
 
----
To obtain the , use '''''-''''' or '''''--''''' options.
+
To obtain the network connection state, use '''''-j''''' or '''''--connstate''''' options.
    
'''Usage syntax''':
 
'''Usage syntax''':
   −
  gsmctl <span style="color:blue;">-</span>, <span style="color:blue;">--</span>
+
  gsmctl <span style="color:blue;">-j</span>, <span style="color:blue;">--connstate</span>
   −
'''Example''': obtaining the number of bytes received (RX bytes) by the mobile connection interface:
+
'''Example''': obtaining the current network connection state:
   −
  root@Teltonika:~# gsmctl <span style="color:blue;">-</span>
+
  root@Teltonika:~# gsmctl <span style="color:blue;">-j</span>
  <span style="color:red;"></span>
+
  <span style="color:red;">connected</span>
 +
 
 +
'''Possible responses''':
 +
* connected
 +
* disconnected
    
===Get network link state===
 
===Get network link state===