API
Obtain cellular, modem and Wi-Fi WAN signal information. When no filter is apply, all WAN will be shown.
If the WAN is not cellular, modem or Wi-Fi, null will be show.
Avaliable in 8.0.1 or later
Input Parameters
Type | Notation | Mandatory | Description | |
connid | Array | <numlist> | optional | Connection ID |
virtualType | Array | list of { wireless, cellular, modem } | optional | Filter of the virtual type |
infoType | Array | list of { virtualType, signal, activeSim, wifi, band, signalLevel } | optional | The information section in the return object |
Return Parameters
Return JSON
Type | Notation | Description | |
<conn_id> | Object | The signal information. The object will also provide some reference information. Virtual Type is modem will use the <Cellular_Type_Signal_Obj> | |
order | Array | list of <conn_id> | WAN Connection ID order reference |
<Wifi_Type_Signal_Obj>
Type | Notation | Description | |
virtualType | String | { wireless } | Virtual type of the WAN connection |
wifi | Object | <Wifi_Obj> | Wi-Fi information. SSID and the security policy |
signal | Object | <Wifi_Signal_Obj> | Wi-Fi signal |
<Wifi_Obj>
Type | Notation | Description | |
ssid | String | <string> | SSID |
securityPolicy | String | { open, wep, wpa, wpa-eap, wpa-psk, 8021x } | Security policy of the Wi-Fi connection |
<Wifi_Signal_Obj>
Type | Notation | Description | |
strength | Number | <number> | Signal strength of the Wi-Fi signal in dBm |
level | Number | [ 0, 5 ] | Signal Level of the Wi-Fi signal for the signal indicator bar. |
<Cellular_Type_Signal_Obj>
Type | Notation | Description | |
virtualType | String | { modem, cellular } | Virtual type of the WAN connection |
activeSim | Object | <Active_Sim_Obj> | The active SIM information of the cellular |
band | Array | list of <Band_Signal_Obj> | The signal information of the cellular |
<Active_SIM_Obj>
Type | Notation | Description | |
carrierName | String | <string> | Carrier name of the active SIM |
network | String | { 2G, 3G, LTE } | Carrier Network of the active SIM |
<Band_Signal_Obj>
Type | Notation | Description | |
name | String | <string> | Band name |
signal | Object | <Cellular_Signal_Obj> | Signal information. The field inside this object will not be shown when the information is missing. |
<Cellular_Signal_Obj>
Type | Notation | Description | |
rssi | Number | <number> | RSSI |
sinr | Number | <number> | SINR |
snr | Number | <number> | SNR |
ecio | Number | <number> | ECIO |
rsrp | Number | <number> | RSRP |
rsrq | Number | <number> | RSRQ |
rscp | Number | <number> | RSCP |
cURL Example
curl -b cookies.txt http://192.168.1.1/api/status.wan.connection.signal?connId=1 2&infoType=band
{ "stat": "ok", "response": { "1": { "band": [ { "name": "LTE Band 7 (2600 MHz)", "signal": { "rssi": -60, "sinr": 9, "rsrp": -101 } } ] }, "2": { "band": [ { "name": "LTE Band 7 (2600 MHz)", "signal": { "rssi": -90, "sinr": 6.6, "rsrp": -100, "rsrq": -3 } }, { "name": "LTE Band 7 (3500 MHz)", "signal": { "rssi": -55 } } ] }, "order": [ 1, 2 ] } }