Closed cmydlarz closed 3 years ago
So as soon as we receive a downlink we have to update the key values and lmic library should be reset thereby making the mcu point to a different app.(code) While implementing this there is an error assertion in lmic library here Assertion error Is there a better way to stop or check for completion of all tasks in lmic library?
The downlink is not always received by the micro controller we are facing a similar issue to this
Remote App Change is implemented in 4402f90b690a4cc6f768a3785630dfa90e52daeb. Need to implement database of Keys and automate the process of adding a node
bac3104c23c4484a1277ef45b0ecec923dfcc22a Latest remote app change commit - Verified
Each device is setup with a default appkey pointing to our dev application. On first boot, device receives onJoin downlink containing deployment apppkey. We catch this first onJoin event and inject the new appKey. The appkey to send is decided by deveui. We maintain database of devEUIs to AppKeys.