Open main menu
Home
Random
Log in
Settings
COMMUNITY
ABOUT
Disclaimers
Teltonika Networks Wiki
Search
Changes
← Older edit
Newer edit →
Gsmctl commands
(view source)
Revision as of 13:09, 30 July 2018
70 bytes added
,
13:09, 30 July 2018
→Get network connection state
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===
Dziugas
Bureaucrats
,
Interface administrators
,
Administrators
31,703
edits