Fork of Semtech LoRaWAN stack
Fork of LoRaWAN-lib by
Revision 22:43aa9a123248, committed 2016-10-07
- Comitter:
- shaunkrnelson
- Date:
- Fri Oct 07 13:22:13 2016 +0000
- Branch:
- v4.2.0
- Parent:
- 21:4ccde8ee9ac8
- Child:
- 23:80965acdd311
- Commit message:
- Disable join retransmission backoff as it does not work with compliance mode device reset.
Changed in this revision
| LoRaMac.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
