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
#define
#define
EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_HARDWARE_VERSION EMBER_AF_INVALID_HARDWARE_VERSION
Macro Definition Documentation#
EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_IMAGE_TYPE_ID#
#define EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_IMAGE_TYPE_IDValue:
0x5678
EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_FIRMWARE_VERSION#
#define EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_FIRMWARE_VERSIONValue:
0x00000005L
EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_HARDWARE_VERSION#
#define EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_HARDWARE_VERSIONValue:
EMBER_AF_INVALID_HARDWARE_VERSION