Ottawa Bootcamp Publish

Dependencies:   SX127x lorawan1v1

Revision:
8:efe6002910df
Parent:
0:62e456e60083
Child:
12:94b7971c7146
--- a/Commissioning.h	Wed May 23 11:23:43 2018 -0700
+++ b/Commissioning.h	Mon Jul 23 13:19:35 2018 -0700
@@ -14,6 +14,8 @@
 #ifndef __LORA_COMMISSIONING_H__
 #define __LORA_COMMISSIONING_H__
 
+#define SENETCO
+
 #define USE_BAND_915_HYBRID
 //#define USE_BAND_915
 //#define USE_BAND_ARIB_8CH
@@ -40,6 +42,11 @@
  */
 #define LORAWAN_PUBLIC_NETWORK                      true
 
+#ifdef SENETCO
+    #define LORAWAN_DEVICE_EUI       {0x00,0x25,0x0C,0x01,0x00,0x00,0x00,0x08}
+    #define LORAWAN_JOIN_EUI         {0x00,0x25,0x0C,0x00,0x00,0x01,0x00,0x01}
+    #define LORAWAN_ROOT_NWKKEY      {0x3D,0xFD,0xF3,0x80,0x45,0x0E,0x8B,0x8D,0x3E,0xD5,0x89,0x25,0xAA,0xD4,0x23,0x53}
+#else
 /*!
  * Mote device IEEE EUI (big endian)
  *
@@ -58,6 +65,7 @@
 * AES encryption/decryption cipher application key
 * 00112233445566778899aabbccddeeff */
 #define LORAWAN_ROOT_NWKKEY     { 0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff }
+#endif /* !SENETCO */
 
 // d2fc83ea58cf0fbc973dbd07a7115486     lorawan-1.1 OTA only
 //#define LORAWAN_ROOT_APPKEY   { 0xd2,0xfc,0x83,0xea,0x58,0xcf,0x0f,0xbc,0x97,0x3d,0xbd,0x07,0xa7,0x11,0x54,0x86 } // uncomment for lorawan1v1, or comment for lorawan1v0