Sensor Demo for CTIA
Dependencies: LoRaWAN-lib SX1272Lib lib_gps lib_mma8451q lib_mpl3115a2 mbed
Fork of LoRaWAN-NAMote72-Application-Demo by
Diff: app/Comissioning.h
- Revision:
- 3:99e46cb2b0df
- Parent:
- 0:69f2e28d12c1
- Child:
- 9:617844f7fdb1
diff -r d119a85c793c -r 99e46cb2b0df app/Comissioning.h --- a/app/Comissioning.h Wed May 18 00:44:52 2016 +0000 +++ b/app/Comissioning.h Wed May 18 11:23:34 2016 +0000 @@ -15,7 +15,6 @@ #ifndef __LORA_COMISSIONING_H__ #define __LORA_COMISSIONING_H__ - /*! * When set to 1 the application uses the Over-the-Air activation procedure * When set to 0 the application uses the Personalization activation procedure @@ -56,6 +55,11 @@ #else /*! + * Current network ID + */ +#define LORAWAN_NETWORK_ID ( uint32_t )0 + +/*! * Device address on the network (big endian) * * \remark In this application, if the value is 0, then the address is automatically generated using a pseudo random generator seeded with a value derived from BoardUniqueId value @@ -73,11 +77,6 @@ */ #define LORAWAN_APPSKEY { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C } -/*! - * Current network ID. Used when end-devices are Roaming. Default must be 0 - */ -#define LORAWAN_NETWORK_ID ( uint32_t )0 - #endif