Line 251: |
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 321: |
Line 320: |
| *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 370: |
| | | |
| *an integer number ranging from -113 to -51 (in dBm) | | *an integer number ranging from -113 to -51 (in dBm) |
| + | |
| | | |
| ===Get WCDMA RSCP level=== | | ===Get WCDMA RSCP level=== |
Line 580: |
Line 598: |
| ---- | | ---- |
| 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 604: |
Line 620: |
| 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 624: |
Line 641: |
| 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 637: |
Line 655: |
| 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 772: |
Line 791: |
| | | |
| *a string type output indicating the ''gsmctl'' version | | *a string type output indicating the ''gsmctl'' version |
| + | |
| | | |
| ==SMS management options== | | ==SMS management options== |
Line 917: |
Line 937: |
| | | |
| *If response in terminal "OK", SMS was sent successfully. | | *If response in terminal "OK", SMS was sent successfully. |
| + | |
| | | |
| ==Auxiliary options== | | ==Auxiliary options== |