Skip to content

LoRa Networks

A LoRa network uses the external nRF52 LoRa peripheral and requires an auth object with the device EUI, join EUI, application key, device class, and region.

Key path: data.network.networks.<name> with "type": "loraperi"

{
"data": {
"network": {
"networks": {
"l1": {
"type": "loraperi",
"auth": {
"nwkkey": "00112233445566778899AABBCCDDEEFF",
"deveui": "38b8ebe000005160",
"joineui": "38b8ebe000000000",
"class": "C",
"region": 1
}
}
}
}
}
}

Must be "loraperi" for LoRa networks.

Configuration variables

  • Type: string
  • Required: yes

Holds the LoRaWAN credentials and radio parameters.

Configuration variables

  • Type: object
  • Required: yes
FieldTypeRequiredDescription
nwkkeystring (32 hex digits)yesApplication key (AppKey)
deveuistring (16 hex digits)yesDevice EUI. Defaults to the device ID padded to 16 hex digits if omitted.
joineuistring (16 hex digits)yesJoin EUI. Defaults to 38b8ebe100000000 if omitted.
classstringnoDevice class: "A" or "C". Default is "C".
regioninteger (1‑5)noLoRaWAN region. Default is 1. See table below.
CodeRegion
1EU868
2AU915 (FSB2)
3US915 (FSB2)
4AS923
5IN865
{
"l1": {
"type": "loraperi",
"auth": {
"nwkkey": "00112233445566778899AABBCCDDEEFF",
"deveui": "38b8ebe000005160",
"joineui": "38b8ebe000000000",
"class": "A",
"region": 3
}
}
}