Shared
Dependencies: LoRaMacLib SX1276Lib mbed Chainable_RGB_LED DigitDisplay
Fork of LoRaWAN by
Diff: main.cpp
- Revision:
- 5:cf8d441fc254
- Parent:
- 4:0c164d628006
diff -r 0c164d628006 -r cf8d441fc254 main.cpp --- 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 }; /*!