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.

Macro Definition Documentation#

EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_IMAGE_TYPE_ID#

#define EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_IMAGE_TYPE_ID
Value:
0x5678

Definition at line 52 of file app/framework/plugin/ota-client-policy/ota-client-policy.h

EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_FIRMWARE_VERSION#

#define EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_FIRMWARE_VERSION
Value:
0x00000005L

Definition at line 56 of file app/framework/plugin/ota-client-policy/ota-client-policy.h

EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_HARDWARE_VERSION#

#define EMBER_AF_PLUGIN_OTA_CLIENT_POLICY_HARDWARE_VERSION
Value:
EMBER_AF_INVALID_HARDWARE_VERSION

Definition at line 60 of file app/framework/plugin/ota-client-policy/ota-client-policy.h