Digi XBee(R) ANSI C Host Library
|
Data Fields | |
uint32_t | timer |
xbee_gen3_state_t | state |
xbee_gen3_state_t | next_state |
uint16_t | flags |
uint16_t | bl_version |
parsed response from 'B' cmd | |
uint16_t | page_num |
page we're sending to BL | |
int16_t | page_offset |
Current offset into buffer (0 - <n-1>); -1 if sending page header; <n> if sending checksum/CRC16 (where <n> = XBEE_GEN3_UPLOAD_PAGE_SIZE). More... | |
xbee_gen3_extended_ver_t | ext_ver |
parsed response from 'V' cmd | |
xbee_dev_t * | xbee |
char | buffer [XBEE_GEN3_UPLOAD_PAGE_SIZE] |
buffer for upload page, must persist for duration of update | |
int(* | read )(void *context, void *buffer, int16_t bytes) |
Function to read firmware image contents. More... | |
void * | context |
context passed to .read() function | |
int16_t page_offset |
Current offset into buffer (0 - <n-1>); -1 if sending page header; <n> if sending checksum/CRC16 (where <n> = XBEE_GEN3_UPLOAD_PAGE_SIZE).
Referenced by xbee_bl_gen3_install_state(), and xbee_bl_gen3_install_tick().
Function to read firmware image contents.
Considered EOF if it returns a value less than <bytes>. Values <0 are errors passed up from xbee_fw_install_ebin_tick().
Referenced by xbee_bl_gen3_install_state(), and xbee_bl_gen3_install_tick().