LoRaWAN-SX1272-Application-24-31-9sec
Dependencies: X_NUCLEO_IKS01A1 driver_mbed_TH02 LoRaWAN-lib-v1_0_1 SX1272Lib mbed
Fork of LoRaWAN-SX1272-Application-24-31-9sec by
Diff: app/Comissioning.h
- Revision:
- 8:89039f83e9fc
- Parent:
- 7:c63508d8ff9c
--- a/app/Comissioning.h Thu Nov 16 18:30:00 2017 +0000 +++ b/app/Comissioning.h Mon Jan 22 15:55:52 2018 +0000 @@ -40,12 +40,12 @@ * \remark In this application, if the last 4 bytes are all 0, then the 32 bit address is automatically generated using a pseudo random generator seeded with a value derived from BoardUniqueId value * If provided by user, e.g. { IEEE_OUI, 0x00, 0x00, 0x00, 0xFF, 0x01 }, then this value is used by the application */ -#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x01, 0x00, 0x00, 0x00, 0x01 } +#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x01, 0x02, 0x03, 0x04, 0x05 } /*! * Application IEEE EUI (big endian) */ -#define LORAWAN_APPLICATION_EUI { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } +#define LORAWAN_APPLICATION_EUI { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } /*! * AES encryption/decryption cipher application key @@ -60,7 +60,7 @@ * \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 * If provided by user, e.g. 0x78563412, then this value is used by the application */ -#define LORAWAN_DEVICE_ADDRESS ( uint32_t )0x00000001 +#define LORAWAN_DEVICE_ADDRESS ( uint32_t )0xffaa1234 /*! * AES encryption/decryption cipher network session key