inital draft

Dependencies:   mbed LoRaWAN-lib SX1272Liby

Fork of LoRaWAN-demo-72_tjm by Timothy Mulrooney

Files at this revision

API Documentation at this revision

Comitter:
tmulrooney
Date:
Wed Mar 09 15:15:23 2016 +0000
Parent:
1:263aa4ff29cd
Child:
3:b93a0cb03083
Commit message:
first draft

Changed in this revision

app/Comissioning.h Show annotated file Show diff for this revision Revisions of this file
app/main.cpp Show annotated file Show diff for this revision Revisions of this file
board/board.h Show annotated file Show diff for this revision Revisions of this file
radio/SX1272Lib.lib Show annotated file Show diff for this revision Revisions of this file
--- a/app/Comissioning.h	Thu Feb 18 07:49:29 2016 +0000
+++ b/app/Comissioning.h	Wed Mar 09 15:15:23 2016 +0000
@@ -31,17 +31,20 @@
 /*!
  * Mote device IEEE EUI (big endian)
  */
-#define LORAWAN_DEVICE_EUI                          { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 }
+//#define LORAWAN_DEVICE_EUI                          { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 }
+#define LORAWAN_DEVICE_EUI                          { 0x02, 0x00, 0x00, 0x00, 0x00, 0xee, 0xff, 0xc0 }
 
 /*!
  * Application IEEE EUI (big endian)
  */
-#define LORAWAN_APPLICATION_EUI                     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
+//#define LORAWAN_APPLICATION_EUI                     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
+#define LORAWAN_APPLICATION_EUI                     { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77 }
 
 /*!
  * AES encryption/decryption cipher application key
  */
-#define LORAWAN_APPLICATION_KEY                     { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C }
+//#define LORAWAN_APPLICATION_KEY                     { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C }
+#define LORAWAN_APPLICATION_KEY                     { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF }
 
 #else
 
--- a/app/main.cpp	Thu Feb 18 07:49:29 2016 +0000
+++ b/app/main.cpp	Wed Mar 09 15:15:23 2016 +0000
@@ -696,7 +696,7 @@
 
     BoardInit( );
     SerialDisplayInit( );
-
+ 
     DeviceState = DEVICE_STATE_INIT;
 
     while( 1 )
--- a/board/board.h	Thu Feb 18 07:49:29 2016 +0000
+++ b/board/board.h	Wed Mar 09 15:15:23 2016 +0000
@@ -21,7 +21,9 @@
 #include "system/utilities.h"
 #include "sx1272-hal.h"
 
-#define USE_BAND_868
+//#define USE_BAND_868
+//#define USE_BAND_915
+#define USE_BAND_915_HYBRID 0
 
 extern SX1272MB2xAS Radio;
 
--- a/radio/SX1272Lib.lib	Thu Feb 18 07:49:29 2016 +0000
+++ b/radio/SX1272Lib.lib	Wed Mar 09 15:15:23 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/Semtech/code/SX1272Lib/#cd1093b6676f
+https://developer.mbed.org/users/tmulrooney/code/SX1272Liby/#73a1f904eaa5