Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signalStat with bad reception #117

Open
soeadm opened this issue Apr 27, 2023 · 0 comments
Open

signalStat with bad reception #117

soeadm opened this issue Apr 27, 2023 · 0 comments

Comments

@soeadm
Copy link

soeadm commented Apr 27, 2023

One of my appliances has bad callular reception, so it often fall back to 2G and not 4G as primary used. When the Appliance uses 2G the API returns "signalStat" as an empty Array. Which leads to a crash i guess since signalStat is not set as List.

Using:
/organizations/{organizationId}/appliance/uplink/statuses

This is returned for appliance connected to 2G cellular
{
"interface": "cellular",
"status": "ready",
"ip": "xx.xx.xxx.xx",
"provider": "tdc",
"publicIp": null,
"model": "pls8-e",
"signalStat": [],
"connectionType": null,
"apn": null,
"gateway": null,
"dns1": null,
"dns2": null,
"signalType": "2G",
"iccid": null
}
This is an example of a appliance connected to 4G cellular, here signalStat works fine.
{
"interface": "cellular",
"status": "ready",
"ip": "xx.xx.xxx.xx",
"provider": "tdc",
"publicIp": null,
"model": "pls8-e",
"signalStat": {
"rsrp": "-81",
"rsrq": "-6"
},
"connectionType": null,
"apn": null,
"gateway": null,
"dns1": null,
"dns2": null,
"signalType": "4G",
"iccid": null
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant