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
| Field | Type | Required | Description |
|---|---|---|---|
nwkkey | string (32 hex digits) | yes | Application key (AppKey) |
deveui | string (16 hex digits) | yes | Device EUI. Defaults to the device ID padded to 16 hex digits if omitted. |
joineui | string (16 hex digits) | yes | Join EUI. Defaults to 38b8ebe100000000 if omitted. |
class | string | no | Device class: "A" or "C". Default is "C". |
region | integer (1‑5) | no | LoRaWAN region. Default is 1. See table below. |
Region codes
Section titled “Region codes”| Code | Region |
|---|---|
| 1 | EU868 |
| 2 | AU915 (FSB2) |
| 3 | US915 (FSB2) |
| 4 | AS923 |
| 5 | IN865 |
{ "l1": { "type": "loraperi", "auth": { "nwkkey": "00112233445566778899AABBCCDDEEFF", "deveui": "38b8ebe000005160", "joineui": "38b8ebe000000000", "class": "A", "region": 3 } }}Related
Section titled “Related”- LoRa Peripheral Config (devcfg) – DFU and reset commands for the LoRa module
- Network Overview – network types and ordering