Line 55: |
Line 55: |
| ===Get IP address of logical interface=== | | ===Get IP address of logical interface=== |
| ---- | | ---- |
| + | |
| + | <b>Note</b>: From FW version <i>R_00.07.03</i> this option is deprecated. IP addresses can be called with `ubus call network.interface.<interface> status`. |
| + | |
| To obtain the IP address of a network interface, use '''''-p''''' or '''''--ip''''' options. | | To obtain the IP address of a network interface, use '''''-p''''' or '''''--ip''''' options. |
| | | |
Line 319: |
Line 322: |
| *SIM not inserted. | | *SIM not inserted. |
| | | |
− | ===Get GSM signal (RSSI) level=== | + | |
| + | {{#ifeq:{{{series}}}|RUTOS |
| + | |===Get GSM signal (RSSI) level=== |
| + | ---- |
| + | To obtain the router's current signal strength ([[RSSI]]) value, use '''''-q''''' or '''''--signal''''' options. |
| + | |
| + | '''Usage syntax''': |
| + | |
| + | gsmctl <span style="color:blue;">-q</span>, <span style="color:blue;">--signal</span> |
| + | |
| + | *Example for <b>3G</b> network type: |
| + | |
| + | root@Teltonika:~# gsmctl -q |
| + | RSSI: -67 |
| + | RSCP: -68 |
| + | ECIO: -5 |
| + | |
| + | *Example for <b>4G</b> network type: |
| + | root@Teltonika:~# gsmctl -q |
| + | RSSI: -60 |
| + | RSRP: -103 |
| + | SINR: 2 |
| + | RSRQ: -16 |
| + | |
| + | '''Possible responses''': |
| + | |
| + | *an integer number ranging from -113 to -51 (in dBm) |
| + | |
| + | |===Get GSM signal (RSSI) level=== |
| ---- | | ---- |
| To obtain the router's current signal strength ([[RSSI]]) value, use '''''-q''''' or '''''--signal''''' options. | | To obtain the router's current signal strength ([[RSSI]]) value, use '''''-q''''' or '''''--signal''''' options. |
Line 349: |
Line 380: |
| '''Possible responses''': | | '''Possible responses''': |
| | | |
− | *an integer number ranging from -113 to -51 (in dBm) | + | *an integer number ranging from -113 to -51 (in dBm)}} |
| | | |
| | | |
Line 556: |
Line 587: |
| | | |
| | | |
− | ===Get PIN/PUK count=== | + | {{#ifeq:{{{series}}}|RUTOS |
| + | |===Get PIN/PUK count=== |
| ---- | | ---- |
| To obtain the PIN/PUK count, use '''''-B''''' or '''''--pincount''''' options. | | To obtain the PIN/PUK count, use '''''-B''''' or '''''--pincount''''' options. |
Line 567: |
Line 599: |
| | | |
| root@Teltonika:~# gsmctl <span style="color:blue;">-B</span> | | root@Teltonika:~# gsmctl <span style="color:blue;">-B</span> |
− | <span style="color:red;">S1_PIN: 3 | S1_PUK: 10 | + | <span style="color:red;">S1_PIN: 3 {{!}} S1_PUK: 10 |
− | S2_PIN: 3 | S2_PUK: 10</span> | + | S2_PIN: 3 {{!}} S2_PUK: 10</span> |
| | | |
| '''Possible responses''': | | '''Possible responses''': |
| | | |
| *an integer number representing the amount of PIN/PUK attempts left | | *an integer number representing the amount of PIN/PUK attempts left |
| + | |===Get PIN/PUK count=== |
| + | ---- |
| + | To obtain the PIN/PUK count, use '''''-B''''' or '''''--pincount''''' options. |
| | | |
| + | '''Usage syntax''': |
| + | |
| + | gsmctl <span style="color:blue;">-B</span>, <span style="color:blue;">--pincount</span> |
| + | |
| + | '''Example''': obtaining the |
| + | |
| + | root@Teltonika:~# gsmctl <span style="color:blue;">-B</span> |
| + | <span style="color:red;">3</span> |
| + | |
| + | '''Possible responses''': |
| + | |
| + | *an integer number representing the amount of PIN/PUK attempts left |
| + | *N/A - returned when the SIM card is not inserted}} |
| + | |
| + | |
| + | {{#ifeq:{{{series}}}|RUTOS |
| + | |===Get network information=== |
| + | ---- |
| + | To obtain information related to the mobile network information, use '''''-F''''' or '''''--network''''' options. |
| + | |
| + | '''Usage syntax''': |
| + | |
| + | gsmctl <span style="color:blue;">-F</span>, <span style="color:blue;">--network</span> |
| + | |
| + | '''Example''': obtaining mobile network information: |
| + | |
| + | root@Teltonika:~# gsmctl <span style="color:blue;">-F</span> |
| + | <span style="color:red;">LTE {{!}} LTE_B3 {{!}} 24602</span> |
| | | |
− | ===Get network information=== | + | '''Possible responses''': |
| + | |
| + | *response syntax: ''<Act>,<oper>,<band>'' <br> Where: |
| + | **'''''<Act>''''' - service mode |
| + | **'''''<oper>''''' - operator number |
| + | **'''''<band>''''' - frequency band used |
| + | |===Get network information=== |
| ---- | | ---- |
| 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 594: |
Line 664: |
| **'''''<oper>''''' - operator number | | **'''''<oper>''''' - operator number |
| **'''''<band>''''' - frequency band used | | **'''''<band>''''' - frequency band used |
− | **'''''<channel>''''' - channel ID | + | **'''''<channel>''''' - channel ID}} |
− | | |
− | <b>Note</b>: From FW version <i>R_00.07.03</i> the values are returned in a different format. Example:
| |
− | | |
− | root@Teltonika:~# gsmctl -F
| |
− | LTE | LTE_B3 | 24602
| |
| | | |
| | | |