nRF Connect SDK API 0.1.0
|
Library for downloading a firmware update through Zigbee network. More...
Data Structures | |
struct | zigbee_fota_event_dl |
Zigbee FOTA download progress event data. More... | |
struct | zigbee_fota_evt |
Zigbee FOTA download event data. More... | |
Macros | |
#define | ZIGBEE_FOTA_EVT_DL_COMPLETE_VAL 100 |
Typedefs | |
typedef void(* | zigbee_fota_callback_t) (const struct zigbee_fota_evt *evt) |
Zigbee FOTA download asynchronous callback function. | |
Enumerations | |
enum | zigbee_fota_evt_id { ZIGBEE_FOTA_EVT_PROGRESS , ZIGBEE_FOTA_EVT_FINISHED , ZIGBEE_FOTA_EVT_ERROR } |
Zigbee FOTA download event IDs. More... | |
Functions | |
int | zigbee_fota_init (zigbee_fota_callback_t client_callback) |
Initialize the Zigbee firmware over-the-air download library. | |
void | zigbee_fota_abort (void) |
Abort all pending updates performed via Zigbee network. | |
void | zigbee_fota_signal_handler (zb_bufid_t bufid) |
Function for passing Zigbee stack signals to the Zigbee FOTA logic. | |
void | zigbee_fota_zcl_cb (zb_bufid_t bufid) |
Function for passing ZCL callback events to the Zigbee FOTA logic. | |
Library for downloading a firmware update through Zigbee network.
Discovers Zigbee OTA server, queries it for new images and downloads the matching file to the secondary partition of MCUboot. After the file has been downloaded, the secondary slot is tagged as having valid firmware inside it.