Skip to content

Commit

Permalink
Set MacCtx.AckTimeoutRetry = true, when the MAC requested an ACK and …
Browse files Browse the repository at this point in the history
…there is a TX timeout

Lora-net#606
  • Loading branch information
mluis1 committed Jun 7, 2019
1 parent 08d2ffa commit fb90984
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mac/LoRaMac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1331,6 +1331,10 @@ static void ProcessRadioTxTimeout( void )

MacCtx.McpsConfirm.Status = LORAMAC_EVENT_INFO_STATUS_TX_TIMEOUT;
LoRaMacConfirmQueueSetStatusCmn( LORAMAC_EVENT_INFO_STATUS_TX_TIMEOUT );
if( MacCtx.NodeAckRequested == true )
{
MacCtx.AckTimeoutRetry = true;
}
MacCtx.MacFlags.Bits.MacDone = 1;
}

Expand Down

0 comments on commit fb90984

Please sign in to comment.