mQ Branch for NA mote testing
Dependencies: LoRaWAN-lib SX1272Lib-mQ lib_gps lib_mma8451q lib_mpl3115a2 mbed
Fork of LoRaWAN-NAMote72-Application-Demo by
Diff: app/main.cpp
- Revision:
- 6:f8194e691dd4
- Parent:
- 5:6ffeac53b7cb
- Child:
- 18:18408c3c2d0c
--- a/app/main.cpp Wed Jun 08 01:40:42 2016 +0000 +++ b/app/main.cpp Wed Jun 08 22:06:26 2016 +0000 @@ -122,7 +122,7 @@ DeviceState = DEVICE_STATE_INIT; while( 1 ) - { + { Gps.service( ); if( IsNetworkJoinedStatusUpdate == true ) { @@ -194,7 +194,7 @@ break; } case DEVICE_STATE_SEND: - { + { if( NextTx == true ) { // Prepare payload frame based on application port