Open
Description
At the moment, LoRaMac structures are restored from NVM if their CRC32 checksums match. We should also add a header to each data structure with the name of the structure, version, and size. This would make it possible to create NVM parts with sizes that are independent of the size of the LoRaMac NVM structure stored in it. This would essentially become a rudimentary filesystem.
If the header is updated if and only if the entire structure has been saved, we could implement atomic NVM structure writes. This would require that each such structure has two independent locations within the EEPROM.