Terence Huang / Canada-SX1272-LoRaWAN-Bootcamp-rotary

Dependencies:   X_NUCLEO_IKS01A1 LoRaWAN-lib SX1272Lib mbed

Fork of Canada-SX1272-LoRaWAN-Bootcamp by Uttam Bhat

Files at this revision

API Documentation at this revision

Comitter:
terence304
Date:
Sat Feb 10 02:37:58 2018 +0000
Parent:
16:11e0125c845e
Commit message:
update commissioning parameters

Changed in this revision

app/Comissioning.h Show annotated file Show diff for this revision Revisions of this file
diff -r 11e0125c845e -r a822234a2299 app/Comissioning.h
--- a/app/Comissioning.h	Wed Nov 01 11:19:25 2017 -0700
+++ b/app/Comissioning.h	Sat Feb 10 02:37:58 2018 +0000
@@ -40,17 +40,21 @@
  * \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                          { 0x00, 0x00, 0x00, 0x00, 0x78, 0x56, 0x34, 0x12 }
+//#define LORAWAN_DEVICE_EUI                          { 0x00, 0x00, 0x00, 0x00, 0x78, 0x56, 0x34, 0x02 }
+#define LORAWAN_DEVICE_EUI                          { IEEE_OUI, 0x00, 0x00, 0x00, 0x00, 0x01 }
+
 
 /*!
  * Application IEEE EUI (big endian)
  */
-#define LORAWAN_APPLICATION_EUI                     { 0x70, 0xB3, 0xD5, 0x7E, 0xF0, 0x00, 0x63, 0xA6 }
+//#define LORAWAN_APPLICATION_EUI                     { 0x70, 0xB3, 0xD5, 0x7E, 0xF0, 0x00, 0x63, 0xA6 }
+#define LORAWAN_APPLICATION_EUI                     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }
 
 /*!
  * AES encryption/decryption cipher application key
  */
-#define LORAWAN_APPLICATION_KEY                     { 0x24, 0x11, 0x00, 0x61, 0x98, 0xD1, 0xDB, 0x8C, 0x6E, 0x8B, 0x8C, 0x24, 0xB2, 0x8A, 0xFB, 0x82 }
+//#define LORAWAN_APPLICATION_KEY                     { 0x24, 0x11, 0x00, 0x61, 0x98, 0xD1, 0xDB, 0x8C, 0x6E, 0x8B, 0x8C, 0x24, 0xB2, 0x8A, 0xFB, 0x82 }
+#define LORAWAN_APPLICATION_KEY                     { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C }
 
 #else