We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc5d089 commit a520adaCopy full SHA for a520ada
src/mac/LoRaMac.c
@@ -1237,11 +1237,16 @@ static void ProcessRadioRxDone( void )
1237
}
1238
1239
// Verify if we need to disable the RetransmitTimeoutTimer
1240
- if( MacCtx.NodeAckRequested == true )
+ // Only aplies if downlink is received on Rx1 or Rx2 windows.
1241
+ if( ( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_1 ) ||
1242
+ ( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_2 ) )
1243
{
- if( MacCtx.McpsConfirm.AckReceived == true )
1244
+ if( MacCtx.NodeAckRequested == true )
1245
- OnRetransmitTimeoutTimerEvent( NULL );
1246
+ if( MacCtx.McpsConfirm.AckReceived == true )
1247
+ {
1248
+ OnRetransmitTimeoutTimerEvent( NULL );
1249
+ }
1250
1251
1252
0 commit comments