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.
2 parents 0df07ae + 075e4fc commit e5277e2Copy full SHA for e5277e2
src/mac/LoRaMac.c
@@ -149,7 +149,7 @@ static uint8_t LoRaMacRxPayload[LORAMAC_PHY_MAXPAYLOAD];
149
* LoRaMAC frame counter. Each time a packet is sent the counter is incremented.
150
* Only the 16 LSB bits are sent
151
*/
152
-static uint32_t UpLinkCounter = 1;
+static uint32_t UpLinkCounter = 0;
153
154
/*!
155
* LoRaMAC frame counter. Each time a packet is received the counter is incremented.
@@ -3012,7 +3012,7 @@ static void ResetMacParameters( void )
3012
IsLoRaMacNetworkJoined = false;
3013
3014
// Counters
3015
- UpLinkCounter = 1;
+ UpLinkCounter = 0;
3016
DownLinkCounter = 0;
3017
AdrAckCounter = 0;
3018
0 commit comments