![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Updated the code with Class C Lorawan
Dependencies: mbed LoRaWAN-lib
Diff: app/Commissioning.h
- Revision:
- 10:4e528716aa7a
- Parent:
- 9:ee9dcbb9708d
--- a/app/Commissioning.h Mon Apr 24 13:38:31 2017 +0000 +++ b/app/Commissioning.h Thu Dec 27 18:37:04 2018 +0000 @@ -30,22 +30,22 @@ * IEEE Organizationally Unique Identifier ( OUI ) (big endian) * \remark This is unique to a company or organization */ -#define IEEE_OUI 0x11, 0x22, 0x33 +#define IEEE_OUI 0x00, 0x52, 0xF7 /*! * Mote device IEEE EUI (big endian) */ -#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x44, 0x55, 0x66, 0x77, 0x88 } +#define LORAWAN_DEVICE_EUI { 0x00, 0x52, 0xF7, 0x41, 0x06, 0x67, 0xB2, 0xEE } /*! * Application IEEE EUI (big endian) */ -#define LORAWAN_APPLICATION_EUI { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } +#define LORAWAN_APPLICATION_EUI { 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x01, 0x4D, 0xD1 } /*! * AES encryption/decryption cipher application key */ -#define LORAWAN_APPLICATION_KEY { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C } +#define LORAWAN_APPLICATION_KEY { 0xC3, 0x65, 0xF6, 0xEF, 0xA0, 0x90, 0x71, 0x16, 0x83, 0x9A, 0x16, 0xC4, 0xF5, 0xF3, 0x20, 0xC7 } /*! * Current network ID