April_12th_San_Jose_LoRa_Bootcamp

Dependencies:   lorawan1v1

Fork of LoRaWAN-grove-cayenne by wayne roberts

Files at this revision

API Documentation at this revision

Comitter:
bootcamps
Date:
Wed Apr 11 05:16:27 2018 +0000
Parent:
6:4b165893bcae
Commit message:
Final version for SJC 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
--- a/Commissioning.h	Wed Apr 11 00:20:31 2018 +0000
+++ b/Commissioning.h	Wed Apr 11 05:16:27 2018 +0000
@@ -9,7 +9,6 @@
 Description: End device commissioning parameters
 
 License: Revised BSD License, see LICENSE.TXT file include in the project
-
 */
 #ifndef __LORA_COMMISSIONING_H__
 #define __LORA_COMMISSIONING_H__
@@ -22,7 +21,6 @@
 //#define USE_BAND_470
 //#define USE_BAND_780
 
-
 #define ENABLE_VT100
 
 #ifdef ENABLE_VT100
@@ -48,12 +46,15 @@
  */
 //
 //
+//
+// ********************************  Device Provisioning to Comcast machineQ *********************************
+//
 //  Set Device EUI
 //
-#define LORAWAN_DEVICE_EUI       { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01 } // home net 000001
+#define LORAWAN_DEVICE_EUI       { 0xAB,0xCD,0xEF,0x00,0x00,0x00,0x00,0x01 }
 //
 /*!
-* 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         { 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA }
 //
@@ -63,6 +64,9 @@
 #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 *********************************
+//
+//
 //
 //
 //
--- a/sensorDemoVT100.cpp	Wed Apr 11 00:20:31 2018 +0000
+++ b/sensorDemoVT100.cpp	Wed Apr 11 05:16:27 2018 +0000
@@ -1152,7 +1152,7 @@
 
     #ifndef SENETCO /* for senet, use network provided DevEUI */
                 // Initialize LoRaMac device unique ID
-                //HardwareIDtoDevEUI(DevEui);
+                //HardwareIDtoDevEUI(DevEui);   Comment to assign your Own DevEUI, Uncomment to assign based on device serail number
     #ifdef LORAWAN_ROOT_APPKEY
                 // inverted DevEui provisioned as v1.1 on server (non-inv = lorawan1v0)
                 for (int i = 0; i < 8; i++)