Skip to content

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"]
}
}
}
TypeDescriptionConfigure behaviour via
WiFiWPA2‑PSK, WPA3‑SAEdevcfg.wifi
BLEBluetooth Low Energy or BLE peripheraldevcfg.ble
LoRaLoRaWAN peripheraldevcfg.loraperi