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
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
Returns
bool
emberAfCustomStorageReadCallback#
bool emberAfCustomStorageReadCallback (uint32_t offset, uint32_t length, uint8_t * returnData)
Custom Storage Read callback.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint32_t | N/A | offset | offset |
uint32_t | N/A | length | length |
uint8_t * | N/A | returnData | data returned |
Returns
bool
emberAfCustomStorageWriteCallback#
bool emberAfCustomStorageWriteCallback (const uint8_t * dataToWrite, uint32_t offset, uint32_t length)
Custom Storage Write callback.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
const uint8_t * | N/A | dataToWrite | data to be written |
uint32_t | N/A | offset | offset |
uint32_t | N/A | length | length |
Returns
bool