Skip to content

Commit fb90984

Browse files
committed
Set MacCtx.AckTimeoutRetry = true, when the MAC requested an ACK and there is a TX timeout
#606
1 parent 08d2ffa commit fb90984

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mac/LoRaMac.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,10 @@ static void ProcessRadioTxTimeout( void )
13311331

13321332
MacCtx.McpsConfirm.Status = LORAMAC_EVENT_INFO_STATUS_TX_TIMEOUT;
13331333
LoRaMacConfirmQueueSetStatusCmn( LORAMAC_EVENT_INFO_STATUS_TX_TIMEOUT );
1334+
if( MacCtx.NodeAckRequested == true )
1335+
{
1336+
MacCtx.AckTimeoutRetry = true;
1337+
}
13341338
MacCtx.MacFlags.Bits.MacDone = 1;
13351339
}
13361340

0 commit comments

Comments
 (0)