OTA Client#
API and Callbacks for the OTA Cluster Client Component.
Silicon Labs implementation of the Zigbee Over-the-air Bootload Client Cluster (a multi-hop, application bootloader). This implementation finds the OTA server in the network, periodically queries the server for a new image to download, downloads the data, and then waits for the server command to tell it to upgrade. Optionally, it can cryptographically verify the image before upgrade.
Modules#
API#
Set whether OTA clients use non TC servers.
Set whether OTA clients use non TC servers.
Return the current value of ignoreNonTrustCenter for OTA clients.
Set whether OTA Clients will permit firmware downgrades.
Return the current value of disableOtaDowngrades.
Variables#
Macros#
API Documentation#
sl_zigbee_af_ota_server_send_upgrade_request#
void sl_zigbee_af_ota_server_send_upgrade_request ( IgnoreNonTc)
Set whether OTA clients use non TC servers.
Type | Direction | Argument Name | Description |
---|---|---|---|
N/A | IgnoreNonTc | a bool determining whether client should ignore any non Trust Center OTA servers |
Sets the behavior of OTA clients when determining whether or not to use non Trust Center OTA servers and abort any download that is in progress.
sl_zigbee_af_ota_client_set_ignore_non_trust_center#
void sl_zigbee_af_ota_client_set_ignore_non_trust_center (bool ignoreNonTc)
Set whether OTA clients use non TC servers.
Type | Direction | Argument Name | Description |
---|---|---|---|
bool | N/A | ignoreNonTc | a bool determining whether client should ignore any non Trust Center OTA servers |
Sets the behavior of OTA clients when determining whether or not to use non Trust Center OTA servers and abort any download that is in progress.
sl_zigbee_af_ota_client_get_ignore_non_trust_center#
bool sl_zigbee_af_ota_client_get_ignore_non_trust_center ()
Return the current value of ignoreNonTrustCenter for OTA clients.
sl_zigbee_af_set_disable_ota_downgrades#
void sl_zigbee_af_set_disable_ota_downgrades (bool isDisabled)
Set whether OTA Clients will permit firmware downgrades.
Type | Direction | Argument Name | Description |
---|---|---|---|
bool | N/A | isDisabled | A bool value indicating whether or not downgrades will be disabled |
sl_zigbee_af_get_disable_ota_downgrades#
bool sl_zigbee_af_get_disable_ota_downgrades ()
Return the current value of disableOtaDowngrades.
Variable Documentation#
sli_zigbee_af_ota_client_stop_download_percentage#
uint8_t sli_zigbee_af_ota_client_stop_download_percentage