Gsmctl commands: Difference between revisions
Appearance
| Line 437: | Line 437: | ||
===Get data carrier type=== | ===Get data carrier type=== | ||
---- | ---- | ||
To obtain the , use '''''-''''' or '''''--''''' options. | To obtain the connection type, use '''''-t''''' or '''''--conntypec''''' options. | ||
'''Usage syntax''': | '''Usage syntax''': | ||
gsmctl <span style="color:blue;">-</span>, <span style="color:blue;">--</span> | gsmctl <span style="color:blue;">-t</span>, <span style="color:blue;">--conntype</span> | ||
'''Example''': obtaining the | '''Example''': obtaining the connection type: | ||
root@Teltonika:~# gsmctl <span style="color:blue;">-</span> | root@Teltonika:~# gsmctl <span style="color:blue;">-t</span> | ||
<span style="color:red;"></span> | <span style="color:red;">LTE</span> | ||
'''Possible responses''': | '''Possible responses''': | ||
* | * NOSERVICE | ||
* GSM | |||
* WCDMA | |||
* TDSCDMA | |||
* LTE | |||
* CDMA | |||
* EVDO | |||
* CDMA-EVDO | |||
===Get module temperature=== | ===Get module temperature=== | ||
---- | ---- | ||
To obtain the , use '''''-''''' or '''''--''''' options. | To obtain the module's temperature, use '''''-c''''' or '''''--temp''''' options. | ||
'''Usage syntax''': | '''Usage syntax''': | ||
gsmctl <span style="color:blue;">-</span>, <span style="color:blue;">--</span> | gsmctl <span style="color:blue;">-c</span>, <span style="color:blue;">--temp</span> | ||
'''Example''': obtaining the | '''Example''': obtaining the module's temperature: | ||
root@Teltonika:~# gsmctl <span style="color:blue;">-</span> | root@Teltonika:~# gsmctl <span style="color:blue;">-c</span> | ||
<span style="color:red;"></span> | <span style="color:red;">360</span> | ||
'''Possible responses''': | '''Possible responses''': | ||
* | * an integer number representing the module's current temperature (in 0.1 degrees Celsius (°C)) | ||
===Get PIN/PUK count=== | ===Get PIN/PUK count=== | ||
---- | ---- | ||
To obtain the , use '''''-''''' or '''''--''''' options. | To obtain the PIN/PUK count, use '''''-B''''' or '''''--pincount''''' options. | ||
'''Usage syntax''': | '''Usage syntax''': | ||
gsmctl <span style="color:blue;">-</span>, <span style="color:blue;">--</span> | gsmctl <span style="color:blue;">-B</span>, <span style="color:blue;">--pincount</span> | ||
'''Example''': obtaining the | '''Example''': obtaining the | ||
root@Teltonika:~# gsmctl <span style="color:blue;">-</span> | root@Teltonika:~# gsmctl <span style="color:blue;">-B</span> | ||
<span style="color:red;"></span> | <span style="color:red;">3</span> | ||
'''Possible responses''': | '''Possible responses''': | ||
* | * an integer number representing the amount of PIN/PUK attempts left | ||
===Get network information=== | ===Get network information=== | ||