|
supla-device
|


Public Types | |
| enum class | State : uint8_t { NONE , ERROR , SIZE_CHECK , WRITE , LOAD } |
Public Member Functions | |
| StateWearLevelingSector (Storage *storage, uint32_t offset, uint32_t availableSize) | |
| bool | loadPreambles (uint32_t storageStartingOffset, uint16_t size) override |
| void | initSectionPreamble (SectionPreamble *preamble) override |
| bool | writeSectionPreamble () override |
| bool | initFromStorage () override |
| void | deleteAll () override |
| bool | prepareSaveState () override |
| bool | prepareSizeCheck () override |
| bool | prepareLoadState () override |
| bool | readState (unsigned char *, int) override |
| bool | writeState (const unsigned char *, int) override |
| bool | finalizeSaveState () override |
| bool | finalizeSizeCheck () override |
| bool | finalizeLoadState () override |
| void | notifyUpdate () override |
| Public Member Functions inherited from Supla::StateStorageInterface | |
| StateStorageInterface (Storage *storage, uint8_t sectionType) | |
Protected Member Functions | |
| virtual uint16_t | getSectorSize () const |
| Protected Member Functions inherited from Supla::StateStorageInterface | |
| int | readStorage (unsigned int address, unsigned char *buf, int size, bool logs=true) |
| int | writeStorage (unsigned int address, const unsigned char *buf, int size) |
| int | updateStorage (unsigned int address, const unsigned char *buf, int size) |
| void | commit () |
| void | eraseSector (unsigned int address, int size) |
Additional Inherited Members | |
| Protected Attributes inherited from Supla::StateStorageInterface | |
| Storage * | storage = nullptr |
| const uint8_t | sectionType |
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Reimplemented from Supla::StateStorageInterface.
|
overridevirtual |
Reimplemented from Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.
|
overridevirtual |
Implements Supla::StateStorageInterface.