OTA Storage Simple EEPROM#
API and Callbacks for the OTA Storage Simple EEPROM Component.
This is a driver for the Over-the-Air simple storage module component. It uses an EEPROM as the underlying storage device. It provides a means to record data being read or written, as well as metadata with information about how far along a client download is. It can be used either by an OTA Client or an OTA Server. Note that this component assumes that the flash storage does not have read-modify-write support. Users should ensure this value matches the flash storage device used by the application. A mismatch between the project-configured value and the actual flash storage support value will result in an application that asserts upon startup.
Callbacks#
Erase complete.
Functions#
Macros#
API Documentation#
otaStorageEepromGetStorageStartAddress#
uint32_t otaStorageEepromGetStorageStartAddress ()
250
of file app/framework/plugin/ota-storage-simple-eeprom/ota-storage-eeprom.h
otaStorageEepromGetStorageEndAddress#
uint32_t otaStorageEepromGetStorageEndAddress ()
251
of file app/framework/plugin/ota-storage-simple-eeprom/ota-storage-eeprom.h
otaStorageEepromGetImageInfoStartAddress#
uint32_t otaStorageEepromGetImageInfoStartAddress ()
252
of file app/framework/plugin/ota-storage-simple-eeprom/ota-storage-eeprom.h
Callbacks Documentation#
sl_zigbee_af_ota_storage_simple_eeprom_erase_complete_cb#
void sl_zigbee_af_ota_storage_simple_eeprom_erase_complete_cb (bool success)
Erase complete.
N/A | success | The result of the erase operation. Ver.: always |
Called when an EEPROM erase operation has completed.
273
of file app/framework/plugin/ota-storage-simple-eeprom/ota-storage-eeprom.h
Function Documentation#
sli_zigbee_af_ota_storage_write_int32u_to_eeprom#
void sli_zigbee_af_ota_storage_write_int32u_to_eeprom (uint32_t value, uint32_t realOffset)
N/A | value | |
N/A | realOffset |
256
of file app/framework/plugin/ota-storage-simple-eeprom/ota-storage-eeprom.h
sli_zigbee_af_ota_storage_read_int32u_from_eeprom#
uint32_t sli_zigbee_af_ota_storage_read_int32u_from_eeprom (uint32_t realOffset)
N/A | realOffset |
257
of file app/framework/plugin/ota-storage-simple-eeprom/ota-storage-eeprom.h
sli_zigbee_af_storage_eeprom_update_download_offset#
void sli_zigbee_af_storage_eeprom_update_download_offset (uint32_t offset, bool finalOffset)
N/A | offset | |
N/A | finalOffset |
258
of file app/framework/plugin/ota-storage-simple-eeprom/ota-storage-eeprom.h
sli_zigbee_af_ota_storage_driver_get_real_offset#
bool sli_zigbee_af_ota_storage_driver_get_real_offset (uint32_t * offset, uint32_t * length)
N/A | offset | |
N/A | length |
260
of file app/framework/plugin/ota-storage-simple-eeprom/ota-storage-eeprom.h