Devnonce is too small error while switching end nodes in TTN

hi guys,

I am experiencing an issue related to the “devnonce is too small” error. When I attempt to switch end nodes in the TTN network, I change the end node network keys (such as Join EUI, Dev EUI, and App Key) through USART. I stop the LoRa MAC, deinitialize it, and then start it again with the new end node network keys. However, I encounter the “devnonce is too small” error during this process.

used lorawan mac layer version 1.0.4
stm32wle5cc controller.

Do not double post as it splits volunteers efforts and fragments any responses making later searches and solutions discovery harder!

Use your original thread, and please respond to the questions you were asked.

Closing this thread.

Additionally, answer the questions, then you can help faster than a double post!