Fork from LoRa Alliance program. available here: https://developer.mbed.org/users/Alliance/code/LoRaWAN/
Dependencies: LoRaMacLib SX1276Lib mbed Chainable_RGB_LED DigitDisplay
Fork of LoRaWAN by
Diff: main.cpp
- Revision:
- 4:0c164d628006
- Parent:
- 3:db6ad4aa790d
- Child:
- 5:2499c195ccfe
--- a/main.cpp Wed Sep 23 08:11:40 2015 +0000 +++ b/main.cpp Wed Sep 23 09:40:45 2015 +0000 @@ -30,7 +30,7 @@ */ static uint8_t DevEui[] = { - 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; #if( OVER_THE_AIR_ACTIVATION != 0 ) @@ -51,7 +51,7 @@ static uint8_t AppKey[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x19 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; #else @@ -62,7 +62,7 @@ static uint8_t NwkSKey[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x19 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; /*! @@ -71,7 +71,7 @@ static uint8_t AppSKey[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x19 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; /*! @@ -170,14 +170,14 @@ switch( info->RxPort ) // Check Rx port number { case 10: - /* display.write( 0, info->RxBuffer[0] ); + display.write( 0, info->RxBuffer[0] ); display.write( 1, info->RxBuffer[1] ); display.write( 2, info->RxBuffer[2] ); - display.write( 3, info->RxBuffer[3] ); */ + display.write( 3, info->RxBuffer[3] ); break; case 20: - // color_led.setColorRGB(0, info->RxBuffer[0], info->RxBuffer[0], info->RxBuffer[0] ); + color_led.setColorRGB(0, info->RxBuffer[0], info->RxBuffer[0], info->RxBuffer[0] ); break; case 30: