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

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

#include "zigbee/zcl_ota_upgrade.h"
#include "zigbee/zcl.h"

Go to the source code of this file.

Data Structures

struct  zcl_ota_upgrade_source_t
 Datatype for providing an OTA Upgrade Image to a client. More...
 

Macros

#define ZCL_OTA_UPGRADE_CLUSTER_ENTRY
 Macro to include an OTA Upgrade Server in an endpoint's cluster table. More...
 

Typedefs

typedef int(* zcl_ota_upgrade_read_fn) (const struct zcl_ota_upgrade_source_t *source, void *buffer, uint32_t offset, size_t bytes, const addr64 *client_ieee_be)
 Callback for ZCL OTA Upgrade Server to supply data to Image Block Requests. More...
 

Functions

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.
 
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...
 
const zcl_ota_upgrade_source_tzcl_ota_get_upgrade_source (const addr64 *client_ieee_be, const zcl_ota_image_id_t *id, uint8_t zcl_command)
 Application-provided callback from ZCL OTA Upgrade cluster handler to retrieve a structure with details and callbacks/content for responses. More...
 
uint32_t zcl_ota_get_upgrade_time (const addr64 *client_ieee_be, const zcl_ota_upgrade_source_t *source)
 Application-provided callback from ZCL OTA Upgrade cluster handler to retrieve the upgrade time to respond to client's Upgrade End Request. More...
 

Detailed Description

Support for a ZCL OTA Upgrade Cluster Server.