Publish Grove Cayenne Spider Test

Dependencies:   SX127x lorawan1v1

Fork of LoRaWAN-grove-cayenne by wayne roberts

Files at this revision

API Documentation at this revision

Comitter:
bootcamps
Date:
Sat Oct 20 17:30:50 2018 +0000
Parent:
11:09556b27dbce
Commit message:
Publish Grove Cayenne Spider Tests

Changed in this revision

Commissioning.h Show annotated file Show diff for this revision Revisions of this file
SX127x.lib Show annotated file Show diff for this revision Revisions of this file
lorawan1v1.lib Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib 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 09556b27dbce -r f55c6f74cb03 Commissioning.h
--- a/Commissioning.h	Wed Jul 25 09:55:31 2018 -0700
+++ b/Commissioning.h	Sat Oct 20 17:30:50 2018 +0000
@@ -14,8 +14,6 @@
 #ifndef __LORA_COMMISSIONING_H__
 #define __LORA_COMMISSIONING_H__
 
-#define SENETCO
-
 #define USE_BAND_915_HYBRID
 //#define USE_BAND_915
 //#define USE_BAND_ARIB_8CH
@@ -42,11 +40,6 @@
  */
 #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)
  *
@@ -54,19 +47,20 @@
  *         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
-/*!
-* Join IEEE EUI (big endian): undefine for ABP
-*/
-#define LORAWAN_JOIN_EUI         { 0x64,0x7F,0xDA,0x80,0x00,0x00,0x01,0x2E }
+// ********************************  Device Provisioning to Seemtech NS **CC for Bootcamps and DD for my tests***
+//
+
+#define LORAWAN_DEVICE_EUI       { 0xAB,0xDD,0xEF,0x00,0x00,0x00,0x00,0x00 }
+
+#define LORAWAN_JOIN_EUI         { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }
 
-/*!
-* 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 */
 
+//
+// ********************************  Device Provisioning to Semtech NS ********************************************
+//
+//
+//
 // 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 09556b27dbce -r f55c6f74cb03 SX127x.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SX127x.lib	Sat Oct 20 17:30:50 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/dudmuck/code/SX127x/#c48ef2fc3ec9
diff -r 09556b27dbce -r f55c6f74cb03 lorawan1v1.lib
--- a/lorawan1v1.lib	Wed Jul 25 09:55:31 2018 -0700
+++ b/lorawan1v1.lib	Sat Oct 20 17:30:50 2018 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/dudmuck/code/lorawan1v1/#ce1317758488
+https://os.mbed.com/users/dudmuck/code/lorawan1v1/#0f28f2e7c35e
diff -r 09556b27dbce -r f55c6f74cb03 mbed-os.lib
--- a/mbed-os.lib	Wed Jul 25 09:55:31 2018 -0700
+++ b/mbed-os.lib	Sat Oct 20 17:30:50 2018 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#50bd61a4a72332baa6b1bac6caccb44dc5423309
+https://github.com/ARMmbed/mbed-os/#e1bea44212b8275f7d8ce7253e758c2e25c57482
diff -r 09556b27dbce -r f55c6f74cb03 sensorDemoVT100.cpp
--- a/sensorDemoVT100.cpp	Wed Jul 25 09:55:31 2018 -0700
+++ b/sensorDemoVT100.cpp	Sat Oct 20 17:30:50 2018 +0000
@@ -1197,7 +1197,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++)