Shared

Dependencies:   LoRaMacLib SX1276Lib mbed Chainable_RGB_LED DigitDisplay

Fork of LoRaWAN by LoRa All

Files at this revision

API Documentation at this revision

Comitter:
mararn
Date:
Fri Apr 22 09:36:07 2016 +0000
Parent:
4:0c164d628006
Commit message:
k

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Sep 23 09:40:45 2015 +0000
+++ b/main.cpp	Fri Apr 22 09:36:07 2016 +0000
@@ -23,14 +23,14 @@
  * When set to 1 the application uses the Over-the-Air activation procedure
  * When set to 0 the application uses the Personalization activation procedure
  */
-#define OVER_THE_AIR_ACTIVATION                     1
+define OVER_THE_AIR_ACTIVATION = 0                     1
 
 /*!
  * Mote device IEEE EUI
  */
 static uint8_t DevEui[] =
 {
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+    0xF0, 0x3D, 0x29, 0x10, 0x00, 0x00, 0x16, 0x1A
 };
 
 #if( OVER_THE_AIR_ACTIVATION != 0 )
@@ -42,7 +42,7 @@
  */
 static uint8_t AppEui[] =
 {
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+    0xF0, 0x3D, 0x29, 0x10, 0x00, 0x00, 0x16, 0x1A
 };
 
 /*!
@@ -50,8 +50,8 @@
  */
 static uint8_t AppKey[] = 
 { 
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+    0x97, 0x74, 0x11, 0x8b, 0xa8, 0xd8, 0x22, 0x1c,
+    0x65, 0x8f, 0x70, 0xb8, 0x0e, 0x55, 0xbd, 0x1c
 };
 
 #else
@@ -61,8 +61,8 @@
  */
 static uint8_t NwkSKey[] = 
 { 
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+    0xbe, 0x63, 0xbd, 0x50, 0xc8, 0x2b, 0xd8, 0x00,
+    0xae, 0x9c, 0x78, 0x59, 0x68, 0x1c, 0x7b, 0xbe
 };
 
 /*!