26 #ifndef __XBEE_FIRMWARE 27 #define __XBEE_FIRMWARE 58 int (*read)(
void FAR *context,
void FAR *buffer,
int16_t bytes);
62 #define XBEE_FW_LOAD_TIMEOUT 5000 73 #define xbee_fw_install_hcs08_state( source) xbee_fw_install_ebl_state( source) 74 #define xbee_fw_status_hcs08( source, buff) xbee_fw_status_ebl( source, buff) 88 const char FAR *address;
93 const char FAR *address);
99 #use "xbee_firmware.c" unsigned long uint32_t
32-bit unsigned integer
Definition: platform_config.h:43
Structure used to track the state of an Xmodem send.
Definition: xmodem.h:114
#define FAR
On platforms with "far" pointers, define to the proper keyword; empty definition if not required...
Definition: platform.h:396
char FAR * xbee_fw_status_ebl(xbee_fw_source_t *source, char FAR *buffer)
Update \a buffer with the current install status of \a source.
Definition: xbee_firmware.c:461
#define XBEE_BEGIN_DECLS
Macro defined to.
Definition: platform.h:41
unsigned int xbee_fw_install_ebl_state(xbee_fw_source_t *source)
Returns a unique value indicating the state of the .EBL/.GBL install process.
Definition: xbee_firmware.c:179
Definition: firmware.h:43
Makes use of xbee/serial.h API for sending and receiving serial data.
char FAR * xbee_fw_status_oem(xbee_fw_source_t *source, char FAR *buffer)
Update buffer with the current install status of source.
Definition: xbee_firmware.c:1193
int xbee_fw_buffer_init(xbee_fw_buffer_t *fw, uint32_t length, const char FAR *address)
Helper function for setting up an xbee_fw_buffer_t for use with a source firmware image held entirely...
Definition: xbee_firmware.c:1370
unsigned short uint16_t
16-bit unsigned integer
Definition: platform_config.h:41
Definition: firmware.h:36
Single structure to hold an 802.15.4 device's 64-bit IEEE/MAC address and 16-bit network address...
Definition: types.h:98
int xbee_fw_install_init(xbee_dev_t *xbee, const wpan_address_t FAR *target, xbee_fw_source_t *source)
Prepare to install new firmware on an attached XBee module.
Definition: xbee_firmware.c:133
Definition: firmware.h:85
int xbee_fw_install_hcs08_tick(xbee_fw_source_t *source)
Drive the firmware update process for the HCS08 application on Programmable XBee modules.
Definition: xbee_firmware.c:203
int xbee_fw_install_ebl_tick(xbee_fw_source_t *source)
Drive the firmware update process for boards that use .EBL/.GBL files to store their firmware...
Definition: xbee_firmware.c:249
short int16_t
16-bit signed integer
Definition: platform_config.h:40
#define XBEE_END_DECLS
Macro defined to.
Definition: platform.h:42
int xbee_fw_install_oem_tick(xbee_fw_source_t *source)
Install the firmware image stored in source.
Definition: xbee_firmware.c:773