YO H2O
User guide
v1.2
page 17/26
Device configuration
Configurable parameters
A few parameters must be set before sending data to the gateway. The default firmware is configured
in OTAA mode with predefined
deveui
,
appkey (
OTAA
)
and
appskey
,
nwkskey (
ABP
)
.
Configuration of the device is stored in a JSON file divided into the following sections:
-
info
(generic, read only): information about the device,
-
lorawan
(generic): configuration data for LoRaWAN connection,
-
ble
(generic): bluetooth settings,
-
device
(dynamic): individual configuration for a specific device (this section’s structure differs
for each device),
Sample configuration file for the YO H2O device
.
{
"info": {
"devmodel": "LNFD",
"fwver": "3.5.0",
"loraradio": "SX1261",
"lorawanver": "1.0.2",
"loraregion": "EU868",
"blemacaddr": "0123456789ab"
},
"lorawan": {
"subband": 1,
"nwktype": "public",
"acttype": "otaa",
"otaa": {
"deveui": "0123456789abcdef",
"appeui": "fedcba9876543210",
"appkey": "000102030405060708090a0b0c0d0e0f",
"trials": 3
},
"abp": {
"devaddr": "01234567",
"nwkskey": "0123456789abcdef0123456789abcdef",
"appskey": "000102030405060708090a0b0c0d0e0f"
}
},
"ble": {
"power": 0,
"interval": 1600
},
"device": {
"measinterval": 28800
"bleuptime": 86400
"blepwr": 0
"bleadvinterval": 9000
}
}