Forked (hacked) for Legacy Gateway testing
Dependencies: mbed LoRaWAN-lib SX1272Lib
Fork of LoRaWAN-demo-72 by
Diff: app/Comissioning.h
- Revision:
- 9:e395d85afe81
- Parent:
- 6:f9224695ed01
--- a/app/Comissioning.h Tue Apr 04 08:23:15 2017 +0000 +++ b/app/Comissioning.h Thu Apr 20 14:30:02 2017 +0000 @@ -19,7 +19,7 @@ * 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 OVER_THE_AIR_ACTIVATION 1 +#define OVER_THE_AIR_ACTIVATION 0 /*! * Indicates if the end-device is to be connected to a private or public network @@ -35,12 +35,14 @@ /*! * Mote device IEEE EUI (big endian) */ -#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x44, 0x55, 0x66, 0x77, 0x88 } +//#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x44, 0x55, 0x66, 0x77, 0x88 } +#define LORAWAN_DEVICE_EUI { 0x00, 0x98, 0x67, 0x54, 0xE6, 0x2D, 0x64, 0xD6 } /*! * Application IEEE EUI (big endian) */ -#define LORAWAN_APPLICATION_EUI { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } +//#define LORAWAN_APPLICATION_EUI { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } +#define LORAWAN_APPLICATION_EUI { 0x70, 0xB3, 0xD5, 0x7E, 0xF0, 0x00, 0x46, 0x9A } /*! * AES encryption/decryption cipher application key @@ -55,7 +57,7 @@ /*! * Device address on the network (big endian) */ -#define LORAWAN_DEVICE_ADDRESS ( uint32_t )0x12345678 +#define LORAWAN_DEVICE_ADDRESS ( uint32_t )0x260116D5 /*! * AES encryption/decryption cipher network session key