How to Restore frame count after reset Lorawan context?
I have developed a device that joins lorawan in OTAA mode. I am testing the device and i am having some problems with conectivity.
Device joined succesfully to Lorawan Network Server, i saved the NVM Lorawan context and i reset the device, after reset NVM Lorawan context is restored, but when i send a uplink message it is ignored by Network Server because the Device frame count is less than Network server frame count.
My question is is there a way to save frame count in ROM memory and restore it in the LmHandler?
Thanks in advance
