Go to the source code of this file.
◆ REGION_AS923
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
◆ REGION_AU915
◆ REGION_CN470
◆ REGION_CN779
◆ REGION_EU433
◆ REGION_EU868
◆ REGION_IN865
◆ REGION_KR920
◆ REGION_US915
◆ REGION_AS923_1
◆ REGION_AS923_2
◆ REGION_AS923_3
◆ REGION_RU864
◆ LORAWAN_DUTYCYCLE_ON
#define LORAWAN_DUTYCYCLE_ON true |
Enable or disable duty cycle control LoRaWAN ETSI duty cycle control enable/disable. Please note that ETSI mandates duty cycled transmissions. Use only for test purposes.
LoRaWAN duty cycle enabled
◆ LORAWAN_DUTYCYCLE_OFF
#define LORAWAN_DUTYCYCLE_OFF false |
◆ LORAWAN_PUBLIC_NETWORK
#define LORAWAN_PUBLIC_NETWORK true |
Indicates if the end-device is to be connected to a private or public network.
LoRaWAN public network
- Examples
- LoRaWanPio\src\main.cpp.
◆ LORAWAN_PRIVAT_NETWORK
#define LORAWAN_PRIVAT_NETWORK false |
◆ LORAWAN_ADR_ON
#define LORAWAN_ADR_ON true |
Enable or disable LoRaWAN Adaptive Data Rate enabled (the end-device should be static here).
LoRaWAN Adaptive Data Rate enabled (the end-device should be static here).
- Examples
- LoRaWanPio\src\main.cpp.
◆ LORAWAN_ADR_OFF
#define LORAWAN_ADR_OFF false |
LoRaWAN Adaptive Data Rate disabled.
◆ STATIC_DEVICE_EUI
#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.
◆ LORAWAN_DEVICE_EUI
#define LORAWAN_DEVICE_EUI |
Value: { \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \
}
Mote device IEEE EUI (big endian)
◆ LORAWAN_APPLICATION_EUI
#define LORAWAN_APPLICATION_EUI |
Value: { \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \
}
Application IEEE EUI (big endian)
◆ LORAWAN_APPLICATION_KEY
#define LORAWAN_APPLICATION_KEY |
Value: { \
0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C \
}
AES encryption/decryption cipher application key.
◆ LORAWAN_NETWORK_ID
#define LORAWAN_NETWORK_ID (uint32_t)0 |
◆ STATIC_DEVICE_ADDRESS
#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.
◆ LORAWAN_DEVICE_ADDRESS
#define LORAWAN_DEVICE_ADDRESS (uint32_t)0x00000000 |
Device address on the network (big endian)
◆ LORAWAN_NWKSKEY
Value: { \
0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C \
}
AES encryption/decryption cipher network session key.
◆ LORAWAN_APPSKEY
Value: { \
0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C \
}
AES encryption/decryption cipher application session key.