Open stenbergd opened 8 years ago
Perhaps make an improved way of saving data to flash using protobuf?
Format: [CRC][content-type][content-length][content-data]
And then just store each struct after one-another on the flash pages and iterate through until all setting types found OR no valid data after last found setting.
Perhaps reduce setting storage area to 8 or even 4 kB?
Need to handle flash page data separation. If data saved towards the end of the page and next data couldn't fit, store/search next page.
Perhaps make an improved way of saving data to flash using protobuf?
Format: [CRC][content-type][content-length][content-data]
And then just store each struct after one-another on the flash pages and iterate through until all setting types found OR no valid data after last found setting.