XBee Firmware Library
1.6.0
|
Files | |
file | commissioning.h |
file | xbee_commissioning.c |
Typedefs | |
typedef struct xbee_comm_dl_t | xbee_comm_dl_t |
typedef void(* | xbee_comm_fn) (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
typedef struct xbee_comm_reg_t | xbee_comm_reg_t |
Functions | |
void | xbee_comm_AR (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
void | xbee_comm_BH (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
void | xbee_comm_DL (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
void | xbee_comm_EO (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
void | xbee_comm_OI (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
void | xbee_comm_OP (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
int | xbee_comm_reg_callback (const xbee_cmd_response_t FAR *response) |
void | xbee_comm_SC (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
int | xbee_commissioning_init (zcl_comm_state_t *comm, xbee_dev_t *xbee) |
int | xbee_commissioning_query (zcl_comm_state_t *comm, xbee_dev_t *xbee, const char FAR *reg) |
int | xbee_commissioning_set (xbee_dev_t *xbee, zcl_comm_startup_param_t *p) |
void | xbee_commissioning_tick (xbee_dev_t *xbee, zcl_comm_state_t *comm_state) |
Variables | |
xbee_comm_fn | assign_fn |
function to process result More... | |
uint8_t | b0 |
uint8_t | b1 |
uint8_t | b2 |
xbee_at_cmd_t | command |
command to send to XBee device More... | |
uint8_t | startup_control |
const xbee_comm_reg_t | xbee_comm_regs [] |
Cluster
typedef struct xbee_comm_dl_t xbee_comm_dl_t |
typedef void(* xbee_comm_fn) (zcl_comm_startup_param_t FAR *p, const void FAR *value_be) |
typedef struct xbee_comm_reg_t xbee_comm_reg_t |
void xbee_comm_AR | ( | zcl_comm_startup_param_t FAR * | p, |
const void FAR * | value_be | ||
) |
void xbee_comm_BH | ( | zcl_comm_startup_param_t FAR * | p, |
const void FAR * | value_be | ||
) |
void xbee_comm_DL | ( | zcl_comm_startup_param_t FAR * | p, |
const void FAR * | value_be | ||
) |
void xbee_comm_EO | ( | zcl_comm_startup_param_t FAR * | p, |
const void FAR * | value_be | ||
) |
void xbee_comm_OI | ( | zcl_comm_startup_param_t FAR * | p, |
const void FAR * | value_be | ||
) |
void xbee_comm_OP | ( | zcl_comm_startup_param_t FAR * | p, |
const void FAR * | value_be | ||
) |
int xbee_comm_reg_callback | ( | const xbee_cmd_response_t FAR * | response | ) |
void xbee_comm_SC | ( | zcl_comm_startup_param_t FAR * | p, |
const void FAR * | value_be | ||
) |
Depending on the value of StartupControl, the extended_panid attribute might be set from ID (extended PAN ID) or OP (operating PAN ID).
I think.
Note that spec (3.15.2.2.1.2) says that all Fs is used for "unspecified", so we may need to map all 0s to all Fs.
int xbee_commissioning_init | ( | zcl_comm_state_t * | comm, |
xbee_dev_t * | xbee | ||
) |
int xbee_commissioning_query | ( | zcl_comm_state_t * | comm, |
xbee_dev_t * | xbee, | ||
const char FAR * | reg | ||
) |
int xbee_commissioning_set | ( | xbee_dev_t * | xbee, |
zcl_comm_startup_param_t * | p | ||
) |
void xbee_commissioning_tick | ( | xbee_dev_t * | xbee, |
zcl_comm_state_t * | comm_state | ||
) |
xbee_comm_fn assign_fn |
function to process result
uint8_t b0 |
uint8_t b1 |
uint8_t b2 |
xbee_at_cmd_t command |
command to send to XBee device
uint8_t startup_control |
const xbee_comm_reg_t xbee_comm_regs[] |