Skip to content

Add headers to NVM data structures #17

Open
@janakj

Description

@janakj

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions