Digi XBee(R) ANSI C Host Library
Macros | Functions

Support for a ZCL OTA Upgrade Cluster Server. More...

#include <stdio.h>
#include "zigbee/zcl_ota_server.h"

Macros

#define debug_printf(...)
 
#define ZCL_OTA_SERVER_MAX_BLOCK_SIZE   256
 

Functions

int zcl_ota_upgrade_image_notify (wpan_dev_t *wpan_dev, const zcl_ota_image_id_t *image_id, const wpan_endpoint_table_entry_t *src_ep, uint8_t dest_ep, const addr64 *ieee_addr_be, uint16_t network_addr)
 Send at OTA Upgrade Image Notify command. More...
 
int zcl_ota_next_image_resp (zcl_command_t *zcl_req)
 Respond to an OTA Upgrade Next Image Request.
 
int zcl_ota_image_block_resp (zcl_command_t *zcl_req)
 Respond to an OTA Upgrade Image Block Request.
 
int zcl_ota_upgrade_end_resp (zcl_command_t *zcl_req)
 Respond to an OTA Upgrade End Request.
 
int zcl_ota_upgrade_cluster_handler (const wpan_envelope_t FAR *envelope, void FAR *context)
 Handler for an OTA Upgrade Server's wpan_cluster_table_entry_t.
 

Detailed Description

Support for a ZCL OTA Upgrade Cluster Server.