SX126x-Arduino
|
Go to the source code of this file.
Macros | |
#define | REGION_US915 |
Define your region here Required because each region has different regulations The LoRa Alliance offers documentation for the regional parameters Latest revision when this library was created https://lora-alliance.org/resource-hub/lorawanr-regional-parameters-v11rb Check https://lora-alliance.org/resource-hub for any updates. More... | |
#define | OVER_THE_AIR_ACTIVATION 0 |
Define activation procedure here More information https://www.thethingsnetwork.org/forum/t/what-is-the-difference-between-otaa-and-abp-devices/2723 When set to 1 the application uses the Over-the-Air activation procedure When set to 0 the application uses the Personalization activation procedure. More... | |
#define | LORAWAN_PUBLIC_NETWORK true |
Indicates if the end-device is to be connected to a private or public network. More... | |
#define | STATIC_DEVICE_EUI 1 |
Select if a hard coded device ID is used or an automatic generated one When set to 1 DevEui is LORAWAN_DEVICE_EUI When set to 0 DevEui is automatically generated by calling BoardGetUniqueId function. More... | |
#define | LORAWAN_DEVICE_EUI |
Mote device IEEE EUI (big endian) More... | |
#define | LORAWAN_APPLICATION_EUI |
Application IEEE EUI (big endian) More... | |
#define | LORAWAN_APPLICATION_KEY |
AES encryption/decryption cipher application key. More... | |
#define | LORAWAN_NETWORK_ID (uint32_t)0 |
Current network ID. More... | |
#define | STATIC_DEVICE_ADDRESS 1 |
Select if a hard coded device address is used or an automatic generated one When set to 1 DevAdd is LORAWAN_DEVICE_ADDRESS When set to 0 DevAdd is automatically generated using a pseudo random generator seeded with a value derived from BoardUniqueId value. More... | |
#define | LORAWAN_DEVICE_ADDRESS (uint32_t)0x00000000 |
Device address on the network (big endian) More... | |
#define | LORAWAN_NWKSKEY |
AES encryption/decryption cipher network session key. More... | |
#define | LORAWAN_APPSKEY |
AES encryption/decryption cipher application session key. More... | |
#define REGION_US915 |
Define your region here Required because each region has different regulations The LoRa Alliance offers documentation for the regional parameters Latest revision when this library was created https://lora-alliance.org/resource-hub/lorawanr-regional-parameters-v11rb Check https://lora-alliance.org/resource-hub for any updates.
Choose a matching region from below REGION_AS923 -> Asia 923 MHz REGION_AU915 -> Australia 915 MHz REGION_CN470 -> China 470 MHz REGION_CN779 -> China 779 MHz REGION_EU433 -> Europe 433 MHz REGION_EU868 -> Europe 868 MHz REGION_IN865 -> India 865 MHz REGION_KR920 -> Korea 920 MHz REGION_US915 -> US 915 MHz
#define OVER_THE_AIR_ACTIVATION 0 |
Define activation procedure here More information https://www.thethingsnetwork.org/forum/t/what-is-the-difference-between-otaa-and-abp-devices/2723 When set to 1 the application uses the Over-the-Air activation procedure When set to 0 the application uses the Personalization activation procedure.
#define LORAWAN_PUBLIC_NETWORK true |
Indicates if the end-device is to be connected to a private or public network.
#define STATIC_DEVICE_EUI 1 |
Select if a hard coded device ID is used or an automatic generated one When set to 1 DevEui is LORAWAN_DEVICE_EUI When set to 0 DevEui is automatically generated by calling BoardGetUniqueId function.
#define LORAWAN_DEVICE_EUI |
Mote device IEEE EUI (big endian)
#define LORAWAN_APPLICATION_EUI |
Application IEEE EUI (big endian)
#define LORAWAN_APPLICATION_KEY |
AES encryption/decryption cipher application key.
#define LORAWAN_NETWORK_ID (uint32_t)0 |
Current network ID.
#define STATIC_DEVICE_ADDRESS 1 |
Select if a hard coded device address is used or an automatic generated one When set to 1 DevAdd is LORAWAN_DEVICE_ADDRESS When set to 0 DevAdd is automatically generated using a pseudo random generator seeded with a value derived from BoardUniqueId value.
#define LORAWAN_DEVICE_ADDRESS (uint32_t)0x00000000 |
Device address on the network (big endian)
#define LORAWAN_NWKSKEY |
AES encryption/decryption cipher network session key.
#define LORAWAN_APPSKEY |
AES encryption/decryption cipher application session key.