Digi XBee(R) ANSI C Host Library
|
Frame definitions and support functions for Register Joining Device (0x24) and Register Device Status (0xA4) frames used on XBee3 Zigbee modules. More...
Go to the source code of this file.
Data Structures | |
struct | xbee_header_register_device_t |
< XBEE_FRAME_REGISTER_DEVICE (0x24) ID to match REGISTER_DEVICE_STATUS frame 64-bit address of destination devices set to WPAN_NET_ADDR_UNDEFINED (0xFFFE) options for join, XBEE_REG_DEV_OPT_xxx More... | |
struct | xbee_frame_register_device_status_t |
< XBEE_FRAME_REGISTER_DEVICE_STATUS (0xA4) ID of REGISTER_DEVICE frame result of operation More... | |
Macros | |
#define | XBEE_ZIGBEE_INSTALL_KEY_LEN 18 |
length of an install code | |
#define | XBEE_ZIGBEE_LINK_KEY_MAXLEN 16 |
maximum length of a link key | |
#define | XBEE_FRAME_REGISTER_DEVICE 0x24 |
#define | XBEE_FRAME_REGISTER_DEVICE_STATUS 0xA4 |
#define | XBEE_REGISTER_DEVICE_STR_BUF_SIZE 40 |
Buffer size used for xbee_register_device_status_str(). | |
Functions | |
int | xbee_register_device (xbee_dev_t *xbee, addr64 device_addr_be, const void *key, unsigned key_len) |
Send a Register Joining Device frame to a local XBee3 Zigbee module. More... | |
const char * | xbee_register_device_status_str (uint8_t status, char buffer[XBEE_REGISTER_DEVICE_STR_BUF_SIZE]) |
Get a description of an XBEE_REG_DEV_STATUS_xxx value (returned in an XBEE_FRAME_REGISTER_DEVICE_STATUS) for error messages. More... | |
int | xbee_dump_register_device_status (xbee_dev_t *xbee, const void FAR *rawframe, uint16_t length, void FAR *context) |
Debugging frame handler to print Register Device Status (0xA4) frames. More... | |
Frame definitions and support functions for Register Joining Device (0x24) and Register Device Status (0xA4) frames used on XBee3 Zigbee modules.