Application example using LoRaWAN-lib MAC layer implementation for STM32 + SX1276 on OpenChirp
Dependencies: mbed LoRaWAN-lib SX1276Lib
Diff: app/Comissioning.h
- Revision:
- 5:1e9f6a365854
- Parent:
- 3:9c6f7f082151
- Child:
- 7:3173f0508a98
--- a/app/Comissioning.h Mon Mar 14 09:20:40 2016 +0000 +++ b/app/Comissioning.h Fri May 13 15:15:13 2016 +0000 @@ -29,9 +29,14 @@ #if( OVER_THE_AIR_ACTIVATION != 0 ) /*! + * IEEE Organizationally Unique Identifier ( OUI ) (big endian) + */ +#define IEEE_OUI 0x11, 0x22, 0x33 + +/*! * Mote device IEEE EUI (big endian) */ -#define LORAWAN_DEVICE_EUI { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 } +#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x44, 0x55, 0x66, 0x77, 0x88 } /*! * Application IEEE EUI (big endian)