code crashes accessing randomization code
Dependencies: LoRaWAN-SX1272-Application-24-31-9sec 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:0a3a16fd1bc8
- Parent:
- 7:c63508d8ff9c
diff -r c63508d8ff9c -r 0a3a16fd1bc8 app/Comissioning.h --- a/app/Comissioning.h Thu Nov 16 18:30:00 2017 +0000 +++ b/app/Comissioning.h Mon Nov 27 20:49:31 2017 +0000 @@ -40,7 +40,7 @@ * \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, 0x00, 0x00, 0x00, 0x00 } /*! * Application IEEE EUI (big endian) @@ -60,7 +60,8 @@ * \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 )0x00000000 + /*! * AES encryption/decryption cipher network session key