 |
SX126x-Arduino
2.0.1
|
Go to the documentation of this file.
15 #ifndef __LORA_COMMISSIONING_H__
16 #define __LORA_COMMISSIONING_H__
41 #if defined(REGION_AS923) || defined(REGION_AU915) || defined(REGION_CN470) || defined(REGION_CN779) || defined(REGION_EU433) || defined(REGION_EU868) || defined(REGION_IN865) || defined(REGION_KR920) || defined(REGION_US915) || defined(REGION_AS923_1) || defined(REGION_AS923_2) || defined(REGION_AS923_3) || defined(REGION_RU864)
42 #error "SX126x-Arduino V2.0 does support all LoRaWAN regions without definition of 'REGION_XXYYY.\n\nPlease read detailed information how to use it on https://github.com/beegee-tokyo/SX126x-Arduino/blob/master/README_V2.md"
54 #define REGION_AS923_1
55 #define REGION_AS923_2
56 #define REGION_AS923_3
64 #define LORAWAN_DUTYCYCLE_ON true
65 #define LORAWAN_DUTYCYCLE_OFF false
69 #define LORAWAN_PUBLIC_NETWORK true
70 #define LORAWAN_PRIVAT_NETWORK false
74 #define LORAWAN_ADR_ON true
75 #define LORAWAN_ADR_OFF false
81 #define STATIC_DEVICE_EUI 1
87 #define LORAWAN_DEVICE_EUI \
89 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \
94 #define LORAWAN_APPLICATION_EUI \
96 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \
101 #define LORAWAN_APPLICATION_KEY \
103 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C \
108 #define LORAWAN_NETWORK_ID (uint32_t)0
116 #define STATIC_DEVICE_ADDRESS 1
124 #define LORAWAN_DEVICE_ADDRESS (uint32_t)0x00000000
128 #define LORAWAN_NWKSKEY \
130 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C \
135 #define LORAWAN_APPSKEY \
137 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C \
140 #endif // __LORA_COMMISSIONING_H__