# How to reset frame counter on V3?

**URL:** <https://www.thethingsnetwork.org/forum/t/how-to-reset-frame-counter-on-v3/47884>\
**Category:** The Things Stack v3\
**Created:** [May 21, 2021, 5:11am UTC](https://www.thethingsnetwork.org/forum/t/how-to-reset-frame-counter-on-v3/47884 "2021-05-21T05:11:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [November 27, 2021, 2:37pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-reset-frame-counter-on-v3/47884/6 "2021-11-27T14:37:31Z")

</div>

At least for 1.0.x ABP devices, it seems in V3 the downlink counter (as used by TTN) is reset **automatically** when TTN detects _and allows_ that the uplink counter has been reset. I’m sure one can confirm in the code somewhere. In V2, for the downlink counters, this needed one to click the “reset frame counters” link in the V2 Console.

Some testing showed that after a LoRaWAN 1.0.x device (MAC V1.0.2, PHY V1.0.2 REV B) was restarted, [the next downlink used `FCnt = 1`](https://runkit.io/avbentem/lorawan-packet-decoder/branches/master/?data=YBcTASagAQCvz%2F2C), even though before that device reset [an earlier downlink used `FCnt = 5`](https://runkit.io/avbentem/lorawan-packet-decoder/branches/master?data=YBcTASagBQB6XMdf).

For ABP in V3 the “Reset Frame Counters” option is in Network layer, Advanced MAC Settings (just below the ABP NwkSKey):

 ![Reset Frame Counters](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/7/2/72be0b07bb89200c0599f350c68f3ebad9a5833f.png)

Of course, don’t ignore the warning:

![Warning](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/6/7/67f40b18aadba30f77e1abb450f451866b36ea5a.png)

> ⚠ Resetting is insecure and makes your device susceptible for replay attacks

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/how-to-reset-frame-counter-on-v3/47884)._
