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.
Fork of LoRaWAN-lib by
Diff: LoRaMac.cpp
- Branch:
- v4.2.0
- Revision:
- 22:43aa9a123248
- Parent:
- 21:4ccde8ee9ac8
- Child:
- 23:80965acdd311
diff -r 4ccde8ee9ac8 -r 43aa9a123248 LoRaMac.cpp
--- a/LoRaMac.cpp Fri Oct 07 12:14:27 2016 +0000
+++ b/LoRaMac.cpp Fri Oct 07 13:22:13 2016 +0000
@@ -3958,10 +3958,14 @@
LoRaMacAppEui = mlmeRequest->Req.Join.AppEui;
LoRaMacAppKey = mlmeRequest->Req.Join.AppKey;
+// Disable join retransmission dutycycle as it does not currently
+// handle device reset
+#if 0
if( LoRaMacCalcJoinBackOff( ) != 0 )
{
return LORAMAC_STATUS_TX_DCYCLE_EXCEEDED;
}
+#endif
macHdr.Value = 0;
macHdr.Bits.MType = FRAME_TYPE_JOIN_REQ;

