OTA Storage Common#
API and Callbacks for the OTA Storage Common Component.
Common code for any storage module implementing an Over-the-Air bootload cluster. It is used by either the Zigbee or legacy Ember Standalone bootloader implementations.
Modules#
API#
A call to check if the OTA Image ID is valid.
Macros#
Defines the minimum header length for the OTA file.
Defines the maximum header length for the OTA file.
Tag Overhead. 2 bytes for the Tag ID and 4 bytes for the length.
Check if the header version is valid.
Check if the header has security credentials present.
Check if the header has an upgrade file destination.
Check if the header has the hardware version present.
Default to using storage slot 0.
API Documentation#
sl_zigbee_af_is_ota_image_id_valid#
bool sl_zigbee_af_is_ota_image_id_valid (const sl_zigbee_af_ota_image_id_t * idToCompare)
A call to check if the OTA Image ID is valid.
Type | Direction | Argument Name | Description |
---|---|---|---|
const sl_zigbee_af_ota_image_id_t * | [in] | idToCompare | a pointer of type: sl_zigbee_af_ota_image_id_t referring to the OTA image ID |
Returns
A ::bool value returning true if the OTA Id is valid