Application example using LoRaWAN-lib MAC layer implementation for STM32 + SX1276 on OpenChirp

Dependencies:   mbed LoRaWAN-lib SX1276Lib

Revision:
4:00cf2370c99d
Parent:
3:9c6f7f082151
Child:
5:1e9f6a365854
--- a/app/main.cpp	Thu Jan 07 15:14:22 2016 +0000
+++ b/app/main.cpp	Mon Mar 14 09:20:40 2016 +0000
@@ -371,7 +371,7 @@
             mcpsReq.Req.Confirmed.fPort = AppPort;
             mcpsReq.Req.Confirmed.fBuffer = AppData;
             mcpsReq.Req.Confirmed.fBufferSize = AppDataSize;
-            mcpsReq.Req.Confirmed.nbRetries = 8;
+            mcpsReq.Req.Confirmed.NbTrials = 8;
             mcpsReq.Req.Confirmed.Datarate = LORAWAN_DEFAULT_DATARATE;
         }
     }