14 uint8_t
read(uint16_t start, uint8_t count, uint8_t*
data)
const override;
15 uint8_t
write(uint16_t start, uint8_t count,
const uint8_t*
data)
override;
16 uint8_t*
save(uint8_t* buffer)
override;
17 const uint8_t*
restore(
const uint8_t* buffer)
override;
19 const uint8_t*
data();
20 const uint8_t*
data(uint16_t elementIndex);
23 uint16_t _currentElements = 0;
24 uint8_t* _data =
nullptr;
uint16_t saveSize() override
uint8_t * save(uint8_t *buffer) override
This method is called when the object should save its state to the buffer.
uint8_t write(uint16_t start, uint8_t count, const uint8_t *data) override
DataProperty(PropertyID id, bool writeEnable, PropertyDataType type, uint16_t maxElements, uint8_t access)
const uint8_t * restore(const uint8_t *buffer) override
This method is called when the object should restore its state from the buffer.
uint8_t read(uint16_t start, uint8_t count, uint8_t *data) const override
PropertyDataType
The data type of a property.