Inability to Store OTAA Keys and Retrieve Message Count #38
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Issue:
After updating from version 1 (MKRWAN) to version 2 (MKRWAN_V2) of the LoRaWAN library in a MKRWAN1310 Arduino board. I've encountered difficulties in storing OTAA keys in memory and retrieving the message count.
Expected Behavior:
In the previous version (V1), I was able to successfully store OTAA keys in memory and retrieve the message count using appropriate functions. However, after updating to V2, the OTAA keys are being stored incorrectly, and I couldn't find a function capable of retrieving the message count.
Update Framecounter
In Version 1 I can update the frame counter.
Save Keys
And, in version V1, I can save the keys too:
In version V2 I don`t know why but the values got from this functions returns strange values.
Why this?
To enhance device connectivity efficiency, I propose implementing a mechanism to store negotiated OTAA keys in non-volatile memory after successful join, allowing subsequent ABP joins using the stored keys, thus avoiding repetitive OTAA negotiations.
Thanks for all!!!
The text was updated successfully, but these errors were encountered: