Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
PDF Export
More
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
Navigation menu
COMMUNITY
ABOUT
login
Personal tools
Log in
Create account
EN
EN
LT
DE
IT
ES
FR
RU
PL
PT
BR
JA
TR
NAVIGATION
Recent changes
Random page
What links here
Upload file
Help
Tools
Categories
BAT Uninterruptable Power Supplies
Downloads
FAQ
General Information
IoT Platforms
OTD Outdoor routers
RUT Routers
RUTC Routers
RUTM Routers
RUTX Routers
TAP Access Points
TCR Routers
TRB Gateways
TRM Modems
TSF Switches
TSW Switches
EOL Products