YO Airflow Pro
2
User guide
v1.0
page 13/23
Device configuration
Configurable parameters
A few parameters must be set in order to send data to the gateway. The default firmware is
configured in OTAA connection type with predefined
deveui
,
appkey (
OTAA
)
and
appskey
,
nwkskey
(
ABP
)
.
Configuration of the device is stored in a JSON format file divided into sections:
-
info
(generic, read only): information about the device,
-
lorawan
(generic): configuration data required to connect to the LoRaWAN,
-
ble
(generic): bluetooth settings,
-
device
(dynamic): individual configuration for a specific device (the structure of this section is
different for each device).
Sample configuration file for the YO Airflow Pro
2
device
.
{
"info": {
"devmodel": "LNAD",
"fwver": "3.4.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": 3600
}
}
REV 1.0