tcMenu
Loading...
Searching...
No Matches
DynamicEepromStore Class Reference

Public Member Functions

bool loadMenuStructure (EepromAbstraction *eeprom, uint16_t magicKey=0xf00d)
bool saveMenuStructure (EepromAbstraction *eeprom, uint16_t magicKey=0xf00d)

Member Function Documentation

◆ loadMenuStructure()

bool DynamicEepromStore::loadMenuStructure ( EepromAbstraction * eeprom,
uint16_t magicKey = 0xf00d )

We load items from the eeprom one at a time, each item is in memory has a two byte ID, then two bytes for size, followed by the data for that size. This allows up to 64K of data for each item. An ID and size of zero indicate end of stream

| ID | Size | Data | | 1 | 2 | 0x0001 | | 0 | 0 | none |

Parameters
eeprom
magicKey
Returns

The documentation for this class was generated from the following files: