Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IKS01A2 driver_mbed_TH02 mbed LoRaWAN-lib-v1_0_1 SX1272Lib
Fork of LoRaWAN-SX1272-Application-Demo 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