Skip to content

Commit

Permalink
Added NbTrans default value reset under JoinAccept processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Jaeckle authored and mluis1 committed Dec 14, 2021
1 parent d126c4c commit 15ff602
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mac/LoRaMac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,9 @@ static void ProcessRadioRxDone( void )
Nvm.MacGroup2.MacParams.ReceiveDelay1 *= 1000;
Nvm.MacGroup2.MacParams.ReceiveDelay2 = Nvm.MacGroup2.MacParams.ReceiveDelay1 + 1000;

// Reset NbTrans to default value
Nvm.MacGroup2.MacParams.ChannelsNbTrans = 1;

// Is Networkserver's LoRaWAN Version before 1.1.0 ?
if( macMsgJoinAccept.DLSettings.Bits.OptNeg == 0 )
{
Expand Down

0 comments on commit 15ff602

Please sign in to comment.