Network Configuration
The device connects to networks listed in the networkOrder array
inside global.json, allocdata.json, or unallocdata.json. Each
network is defined by a name (e.g. k1, b1, q1) and a type.
// Example from global.json{ "data": { "network": { "networks": { "k1": { "type": "wifi", "auth": { "ssid": "kiosk", "wpa2_password": "infrafon-2022" }, "checkPeriodSecs": 900 }, "b1": { "type": "ble" }, "q1": { "type": "bleperi", "state": "QB" } }, "networkOrder": ["k1", "b1"] } }}Network types
Section titled “Network types”| Type | Description | Configure behaviour via |
|---|---|---|
| WiFi | WPA2‑PSK, WPA3‑SAE | devcfg.wifi |
| BLE | Bluetooth Low Energy or BLE peripheral | devcfg.ble |
| LoRa | LoRaWAN peripheral | devcfg.loraperi |
Related
Section titled “Related”- Configuration Overview – how network definitions fit into global/allocdata files
- MQTT Downlink –
netact/netdeactactions to switch networks - Device States – allocation and provisioning use specific networks