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

Code to add an OTA Server Cluster to a device. More...

#include "wpan/aps.h"
#include "zigbee/zcl.h"

Go to the source code of this file.

Macros

#define PXBEE_OTA_CMD_SERVER_CLUST_ENTRY(flag)
 Macro to add the OTA cluster to the Digi Data Endpoint. More...
 

Functions

int pxbee_ota_server_cmd (const wpan_envelope_t FAR *envelope, void FAR *context)
 Cluster command to initiate firmware updates. More...
 
const char * xbee_update_firmware_ota (const wpan_envelope_t FAR *envelope, void FAR *context)
 Application needs to provide this function as a method of receiving firmware updates over-the-air with Xmodem protocol. More...
 

Detailed Description

Code to add an OTA Server Cluster to a device.

It receives notification to start an update, and then calls back to the bootloader to receive that update.

Note that this is NOT the ZCL Over-the-Air Upgrade Cluster. It is specific to the Programmable XBee.