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 00:20:31 2018 +0000
Parent:
5:53cd6c24a4ab
Child:
7:5a64d72b1931
Commit message:
HW ID Deactivated

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	Fri Apr 06 17:32:22 2018 -0700
+++ b/Commissioning.h	Wed Apr 11 00:20:31 2018 +0000
@@ -46,23 +46,29 @@
  * \remark In this application the value is automatically generated by calling
  *         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
+//
+//
+//  Set Device EUI
+//
+#define LORAWAN_DEVICE_EUI       { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01 } // home net 000001
+//
 /*!
 * 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 }
-
+//
+//
+//
+//
+//
 // 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
 
-
 #ifndef LORAWAN_JOIN_EUI     /* ABP mote: */
     /*
      * AppSkey:     09763a2d1c29831ea073b24d5d12f084
--- a/sensorDemoVT100.cpp	Fri Apr 06 17:32:22 2018 -0700
+++ b/sensorDemoVT100.cpp	Wed Apr 11 00:20:31 2018 +0000
@@ -1152,7 +1152,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++)