OTA Client Policy#
API and Callbacks for the OTA Client Policy Component.
This sample implementation shows how to define the policies of the Zigbee Over-the-air bootload cluster client (a multi-hop, application bootloader). It allows the implementor to decide which manufacturer ID, image type ID, and file version is used when querying the server. It also defines callbacks, such as download complete and ready to bootload.
Macros#
#define
EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_IMAGE_TYPE_ID 0x5678
#define
EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_FIRMWARE_VERSION 0x00000005L
#define
EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_HARDWARE_VERSION EMBER_AF_INVALID_HARDWARE_VERSION