Network State Uplink Data
Shows whether WiFi, BLE, and MQTT are currently active/connected, and the detailed state of each named network.
Key path: devdata.net, devdata.network
To request current values:
{ "devdata": { "net": null } }Per‑network status (net.<name>)
Section titled “Per‑network status (net.<name>)”For each network defined in your configuration (e.g., k1, b1),
the device reports its activation and connection state.
Configuration variables
active(boolean):truewhen the network is activated.state(string, single character): current connection state.
| Code | State |
|---|---|
I | Idle (not activated) |
D | Disconnected |
T | Trying to connect |
C | Connected |
F | Connection failed |
{ "net": { "k1": { "active": true, "state": "C" }, "b1": { "active": false, "state": "I" } }}Interface active flags
Section titled “Interface active flags”Shorthand booleans for the three main radio interfaces and MQTT.
Configuration variables
wifi.active(boolean): WiFi radio is on.wifi.connected(boolean): WiFi is connected to an AP.ble.active(boolean): nRF53 BLE is active.bleperi.active(boolean): nRF52 BLE peripheral is active.mqtt.connected(boolean): MQTT broker connection is established.
{ "wifi": { "active": true, "connected": true }, "ble": { "active": true }, "bleperi": { "active": true }, "mqtt": { "connected": true }}These flags are sent automatically; no separate
nullrequest is required.
Related
Section titled “Related”- Network Setup — network configuration and order
- MQTT Overview — connection management
- Core State — device state code