Developing with ZBOSS for Zigbee
|
Data Structures | |
struct | zb_zdo_nwk_addr_req_s |
NWK_addr_req command primitive. More... | |
struct | zb_zdo_nwk_addr_req_param_s |
Parameters for nwk_addr_req command. More... | |
struct | zb_zdo_nwk_addr_resp_head_s |
NWK_addr_req response frame. More... | |
struct | zb_zdo_nwk_addr_resp_ext_s |
NWK_addr_req response frame tail. More... | |
struct | zb_zdo_nwk_addr_resp_ext2_s |
NWK_addr_req response frame tail. More... | |
struct | zb_zdo_ieee_addr_req_s |
Parameters of IEEE_addr_req primitive. More... | |
struct | zb_zdo_ieee_addr_req_param_s |
Parameters for ieee_addr_req command. More... | |
struct | zb_zdo_ieee_addr_resp_s |
struct | zb_zdo_ieee_addr_resp_ext_s |
ZDO IEEE address response frame tail. More... | |
struct | zb_zdo_ieee_addr_resp_ext2_s |
ZDO IEEE address response frame tail. More... | |
Macros | |
#define | ZB_ZDO_SINGLE_DEVICE_RESP 0U |
#define | ZB_ZDO_EXTENDED_DEVICE_RESP 1U |
Functions | |
zb_uint8_t | zb_zdo_nwk_addr_req (zb_uint8_t param, zb_callback_t cb) |
Sends NWK_addr_req primitive. More... | |
zb_uint8_t | zb_zdo_ieee_addr_req (zb_uint8_t param, zb_callback_t cb) |
IEEE_addr_req primitive. More... | |
#define ZB_ZDO_EXTENDED_DEVICE_RESP 1U |
Request Type parameter value of zb_zdo_nwk_addr_req_t and zb_zdo_ieee_addr_req_t for receiving an Extended device response used in the following commands accordingly:
#define ZB_ZDO_SINGLE_DEVICE_RESP 0U |
Request Type parameter value of zb_zdo_nwk_addr_req_t and zb_zdo_ieee_addr_req_t for receiving a Single device response used in the following commands accordingly:
typedef struct zb_zdo_ieee_addr_req_s zb_zdo_ieee_addr_req_t |
Parameters of IEEE_addr_req primitive.
To be put into buffer as data (means - after space alloc).
typedef struct zb_zdo_ieee_addr_resp_s zb_zdo_ieee_addr_resp_t |
brief ZDO IEEE address response frame
zb_uint8_t zb_zdo_ieee_addr_req | ( | zb_uint8_t | param, |
zb_callback_t | cb | ||
) |
IEEE_addr_req primitive.
param | - index of buffer with primitive parameters zb_zdo_ieee_addr_req_s. Parameters must be put into the buffer as data (allocated). |
cb | - user's function to call when got response from the remote. |
Example:
See tp_zdo_bv-31 sample
zb_uint8_t zb_zdo_nwk_addr_req | ( | zb_uint8_t | param, |
zb_callback_t | cb | ||
) |
Sends NWK_addr_req primitive.
param | - index of buffer with primitive parameters - zb_zdo_nwk_addr_req_param_s |
cb | - user's function to call when got response from the remote. zb_zdo_nwk_addr_resp_head_s passed to cb as parameter. |
Example:
See tp_zdo_bv-31 sample