OTA Storage Simple Driver#

Callbacks for OTA Storage Simple Driver Component.

Callbacks#

bool

Custom Storage Init callback.

bool
emberAfCustomStorageReadCallback(uint32_t offset, uint32_t length, uint8_t *returnData)

Custom Storage Read callback.

bool
emberAfCustomStorageWriteCallback(const uint8_t *dataToWrite, uint32_t offset, uint32_t length)

Custom Storage Write callback.

Callbacks Documentation#

emberAfCustomStorageInitCallback#

bool emberAfCustomStorageInitCallback (void)

Custom Storage Init callback.

Parameters
N/A

Returns

  • bool


Definition at line 54 of file app/framework/plugin/ota-storage-simple/ota-storage-simple-driver.h

emberAfCustomStorageReadCallback#

bool emberAfCustomStorageReadCallback (uint32_t offset, uint32_t length, uint8_t *returnData)

Custom Storage Read callback.

Parameters
N/Aoffset

offset

N/Alength

length

N/AreturnData

data returned

Returns

  • bool


Definition at line 65 of file app/framework/plugin/ota-storage-simple/ota-storage-simple-driver.h

emberAfCustomStorageWriteCallback#

bool emberAfCustomStorageWriteCallback (const uint8_t *dataToWrite, uint32_t offset, uint32_t length)

Custom Storage Write callback.

Parameters
N/AdataToWrite

data to be written

N/Aoffset

offset

N/Alength

length

Returns

  • bool


Definition at line 78 of file app/framework/plugin/ota-storage-simple/ota-storage-simple-driver.h