LR Initial Publish
Dependencies: X_NUCLEO_IKS01A2 driver_mbed_TH02 mbed LoRaWAN-lib-v1_0_1 SX1272Lib
Fork of Training-Aug2018-SX1272-X-NUCLEO-IKS01A2 by
Diff: app/main.cpp
- Revision:
- 1:428dbf097fe6
- Parent:
- 0:6cc76d70e2a1
- Child:
- 10:bba416e2c3e1
--- a/app/main.cpp Thu Apr 06 21:59:50 2017 +0000 +++ b/app/main.cpp Sat Apr 29 07:41:12 2017 +0000 @@ -172,6 +172,8 @@ // Generate DevEUI if not defined by User BoardGetDevEUI( DevEui ); + + Led = 1; // Join N/w server DeviceJoin( ); @@ -193,7 +195,9 @@ break; } case DEVICE_STATE_SEND: - { + { + Led = 0; + if( NextTx == true ) { // Prepare payload frame based on application port