Anish updated the code to work with L152. RTC seems to causing issue. Will have to disable LSE.
Dependencies: mbed LoRaWAN-lib SX1276Lib
Diff: app/main.cpp
- Revision:
- 15:f4805eb13d73
- Parent:
- 14:9ba8f6975308
- Child:
- 16:e1d692816864
--- a/app/main.cpp Wed Jan 09 16:07:08 2019 +0000 +++ b/app/main.cpp Mon Jan 21 19:53:37 2019 +0000 @@ -463,10 +463,12 @@ mcpsReq.Req.Unconfirmed.Datarate = LORAWAN_DEFAULT_DATARATE; LoRaMacUplinkStatus.Acked = false; - LoRaMacUplinkStatus.Port = 0; + LoRaMacUplinkStatus.Port = 42; LoRaMacUplinkStatus.Buffer = NULL; LoRaMacUplinkStatus.BufferSize = 0; SerialDisplayUpdateFrameType( false ); + SerialDisplayPrintDebugLine( LoRaMacQueryTxPossible( AppDataSize, &txInfo ) ); + } else {