LR-test3 version sending uplinks every 10 secs

Dependencies:   LMiC-10secs SX1276Lib X_NUCLEO_IKS01A1 cantcoap lwip mbed-rtos mbed

Fork of LoRaWAN-lmic-app by Alcatel-Lucent IoT Development

Files at this revision

API Documentation at this revision

Comitter:
pnysten
Date:
Tue Feb 23 08:43:37 2016 +0000
Parent:
12:f28b629d8a6e
Commit message:
LR-test3 version sending uplinks every 10 secs

Changed in this revision

LMiC.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f28b629d8a6e -r 9de42df1d3d8 LMiC.lib
--- a/LMiC.lib	Mon Feb 08 10:39:15 2016 +0000
+++ b/LMiC.lib	Tue Feb 23 08:43:37 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/Alcatel-Lucent-IoT-Development/code/LMiC/#34cb24e0b061
+https://developer.mbed.org/teams/Alcatel-Lucent-IoT-Development/code/LMiC-10secs/#c5820ce68bd6
diff -r f28b629d8a6e -r 9de42df1d3d8 main.cpp
--- a/main.cpp	Mon Feb 08 10:39:15 2016 +0000
+++ b/main.cpp	Tue Feb 23 08:43:37 2016 +0000
@@ -85,8 +85,7 @@
  * Defines the device address when using personalization activation procedure
  */
 //To be changed when switching from one to another
-#define LORAWAN_DEV_ADDR                             ( uint32_t )0x12345678
-//#define LORAWAN_DEV_ADDR                            ( uint32_t )0x12341111
+#define LORAWAN_DEV_ADDR                            ( uint32_t )0x12342222
 
 #endif
 
@@ -377,24 +376,14 @@
 //To be changed when switching from one to another
 static const u1_t DevEui[8] =
 {
-//    0x00, 0x00, 0x00, 0x00, 0x08, 0x06, 0x02, 0x48
-
-      0x30, 0x74, 0x73, 0x65, 0x74, 0x2D, 0x52, 0x4C // 4c522d7465737430 = "LR-test0"
-//    0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x99, 0xF7
-//    0x32, 0x74, 0x73, 0x65, 0x74, 0x2D, 0x52, 0x4C // 4c522d7465737430 = "LR-test2"
-
-
-//    0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF
-//    0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x099, 0xF7
+      0x33, 0x74, 0x73, 0x65, 0x74, 0x2D, 0x52, 0x4C // 4c522d7465737433 = "LR-test3"
 };
 
 // device-specific AES key (derived from device EUI)
 static const uint8_t DevKey[16] = 
 {
-//    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-//    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01
     0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6,
-    0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C
+    0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3E
 };
 
 #if( OVER_THE_AIR_ACTIVATION == 0 )
@@ -403,8 +392,7 @@
 static uint8_t NwkSKey[] = 
 { 
     0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6,
-    0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C
-//    0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3D
+    0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3E
 };
 
 // application session key
@@ -412,8 +400,7 @@
 static uint8_t ArtSKey[] = 
 { 
     0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6,
-    0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C
-//    0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3D
+    0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3E
 };
 
 #endif