Bootcamp_Final

Dependencies:   lorawan1v1

Fork of LoRaWAN-grove-cayenne by wayne roberts

Files at this revision

API Documentation at this revision

Comitter:
bootcamps
Date:
Thu Apr 12 20:50:19 2018 +0000
Parent:
6:795461780e10
Commit message:
Bootcamp

Changed in this revision

Commissioning.h Show annotated file Show diff for this revision Revisions of this file
sensorDemoVT100.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 795461780e10 -r 6107eb45fe98 Commissioning.h
--- a/Commissioning.h	Wed Apr 11 14:50:01 2018 -0700
+++ b/Commissioning.h	Thu Apr 12 20:50:19 2018 +0000
@@ -47,17 +47,25 @@
  *         BoardGetUniqueId function
  */
 
-#define LORAWAN_DEVICE_EUI       { 0x19,0x51,0x34,0x30,0x9E,0x30,0x6A,0x37 } // home net 000001
-//#define LORAWAN_DEVICE_EUI     { 0x3e,0xbe,0x24,0xb1,0x6b,0x7b,0x9c,0xfc } // home net 6000ff
+// ********************************  Device Provisioning to Comcast machineQ *********************************
+//
+//  Set Device EUI
+//
+#define LORAWAN_DEVICE_EUI       { 0xAB,0xCD,0xEF,0x00,0x00,0x00,0x00,0x03 }
+//
 /*!
-* Join IEEE EUI (big endian): undefine for ABP
+* APPEUI  -  LoRaWAN 1.0.1   Join IEEE EUI (big endian): undefine for ABP
 */
-#define LORAWAN_JOIN_EUI         { 0x64,0x7F,0xDA,0x80,0x00,0x00,0x01,0x2E }
-
+#define LORAWAN_JOIN_EUI         { 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA }
+//
 /*!
 * 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 }
+//
+//
+// ********************************  Device Provisioning to Comcast machineQ *********************************
+//
 
 // 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
diff -r 795461780e10 -r 6107eb45fe98 sensorDemoVT100.cpp
--- a/sensorDemoVT100.cpp	Wed Apr 11 14:50:01 2018 -0700
+++ b/sensorDemoVT100.cpp	Thu Apr 12 20:50:19 2018 +0000
@@ -1179,7 +1179,7 @@
 
     #ifndef SENETCO /* for senet, use network provided DevEUI */
                 // Initialize LoRaMac device unique ID
-                HardwareIDtoDevEUI(DevEui);
+                //HardwareIDtoDevEUI(DevEui);
     #ifdef LORAWAN_ROOT_APPKEY
                 // inverted DevEui provisioned as v1.1 on server (non-inv = lorawan1v0)
                 for (int i = 0; i < 8; i++)