Developing with ZBOSS SDK for Zigbee
|
Data Structures | |
struct | zb_zdo_node_desc_req_s |
Parameters of Node_desc_req primitive. More... | |
struct | zb_zdo_desc_resp_hdr_s |
Header of Node_desc_resp primitive. More... | |
struct | zb_zdo_node_desc_resp_s |
Parameters of Node_desc_resp primitive. More... | |
struct | zb_zdo_simple_desc_resp_hdr_s |
Header of simple_desc_resp primitive. More... | |
struct | zb_zdo_simple_desc_resp_s |
Parameters of simple_desc_resp primitive. More... | |
struct | zb_zdo_child_info_s |
struct | zb_zdo_parent_annce_s |
Header of parent_annce primitive. More... | |
struct | zb_zdo_parent_annce_rsp_hdr_s |
Header of parent_annce_rsp primitive. More... | |
struct | zb_zdo_parent_annce_rsp_s |
Parameters of parent_annce_rsp primitive. More... | |
struct | zb_zdo_power_desc_resp_s |
Parameters of Power_desc_resp primitive. More... | |
struct | zb_zdo_power_desc_req_s |
Parameters of Power_desc_req primitive. More... | |
struct | zb_zdo_simple_desc_req_s |
Parameters of Simple_desc_req primitive. More... | |
struct | zb_zdo_active_ep_req_s |
Parameters of Active_desc_req primitive. More... | |
struct | zb_zdo_ep_resp_s |
Active EP response. More... | |
struct | zb_zdo_match_desc_param_s |
Parameters of match_desc_req primitive. More... | |
struct | zb_zdo_match_desc_req_head_s |
Match_desc_req head. More... | |
struct | zb_zdo_match_desc_req_tail_s |
Match_desc_req tail. More... | |
struct | zb_zdo_match_desc_resp_s |
Match_Desc_rsp response structure. More... | |
struct | zb_zdo_system_server_discovery_req_s |
Request parameters for System_Server_Discovery_req. More... | |
struct | zb_zdo_system_server_discovery_resp_s |
Response parameters for System_Server_Discovery_rsp. More... | |
Macros | |
#define | ZB_PARENT_ANNCE_JITTER() (ZB_APS_PARENT_ANNOUNCE_BASE_TIMER + ZB_RANDOM_JTR(ZB_APS_PARENT_ANNOUNCE_JITTER_MAX)) |
Jitter used for sending Parent Annce. | |
Typedefs | |
typedef struct zb_zdo_node_desc_req_s | zb_zdo_node_desc_req_t |
Parameters of Node_desc_req primitive. More... | |
typedef struct zb_zdo_desc_resp_hdr_s | zb_zdo_desc_resp_hdr_t |
Header of Node_desc_resp primitive. | |
typedef struct zb_zdo_node_desc_resp_s | zb_zdo_node_desc_resp_t |
Parameters of Node_desc_resp primitive. | |
typedef struct zb_zdo_simple_desc_resp_hdr_s | zb_zdo_simple_desc_resp_hdr_t |
Header of simple_desc_resp primitive. | |
typedef struct zb_zdo_simple_desc_resp_s | zb_zdo_simple_desc_resp_t |
Parameters of simple_desc_resp primitive. | |
typedef struct zb_zdo_child_info_s | zb_zdo_child_info_t |
typedef struct zb_zdo_parent_annce_s | zb_zdo_parent_annce_t |
Header of parent_annce primitive. | |
typedef struct zb_zdo_parent_annce_rsp_hdr_s | zb_zdo_parent_annce_rsp_hdr_t |
Header of parent_annce_rsp primitive. | |
typedef struct zb_zdo_parent_annce_rsp_s | zb_zdo_parent_annce_rsp_t |
Parameters of parent_annce_rsp primitive. | |
typedef struct zb_zdo_power_desc_resp_s | zb_zdo_power_desc_resp_t |
Parameters of Power_desc_resp primitive. | |
typedef struct zb_zdo_power_desc_req_s | zb_zdo_power_desc_req_t |
Parameters of Power_desc_req primitive. More... | |
typedef struct zb_zdo_simple_desc_req_s | zb_zdo_simple_desc_req_t |
Parameters of Simple_desc_req primitive. More... | |
typedef struct zb_zdo_active_ep_req_s | zb_zdo_active_ep_req_t |
Parameters of Active_desc_req primitive. More... | |
typedef struct zb_zdo_ep_resp_s | zb_zdo_ep_resp_t |
Active EP response. | |
typedef struct zb_zdo_match_desc_param_s | zb_zdo_match_desc_param_t |
Parameters of match_desc_req primitive. More... | |
typedef struct zb_zdo_match_desc_req_head_s | zb_zdo_match_desc_req_head_t |
Match_desc_req head. | |
typedef struct zb_zdo_match_desc_req_tail_s | zb_zdo_match_desc_req_tail_t |
Match_desc_req tail. | |
typedef struct zb_zdo_match_desc_resp_s | zb_zdo_match_desc_resp_t |
Match_Desc_rsp response structure. More... | |
typedef struct zb_zdo_system_server_discovery_req_s | zb_zdo_system_server_discovery_req_t |
Request parameters for System_Server_Discovery_req. More... | |
typedef zb_zdo_system_server_discovery_req_t | zb_zdo_system_server_discovery_param_t |
Parameters for System_Server_Discovery_req call. More... | |
typedef struct zb_zdo_system_server_discovery_resp_s | zb_zdo_system_server_discovery_resp_t |
Response parameters for System_Server_Discovery_rsp. More... | |
Functions | |
zb_uint8_t | zb_zdo_node_desc_req (zb_uint8_t param, zb_callback_t cb) |
Node_desc_req primitive. More... | |
zb_uint8_t | zb_zdo_power_desc_req (zb_uint8_t param, zb_callback_t cb) |
Power_desc_req primitive. More... | |
zb_uint8_t | zb_zdo_simple_desc_req (zb_uint8_t param, zb_callback_t cb) |
Simple_desc_req primitive. More... | |
zb_uint8_t | zb_zdo_active_ep_req (zb_uint8_t param, zb_callback_t cb) |
Active_desc_req primitive. More... | |
zb_uint8_t | zb_zdo_match_desc_req (zb_uint8_t param, zb_callback_t cb) |
Match_desc_req primitive. More... | |
zb_uint8_t | zb_zdo_system_server_discovery_req (zb_uint8_t param, zb_callback_t cb) |
Performs System_Server_Discovery_req. More... | |
typedef struct zb_zdo_active_ep_req_s zb_zdo_active_ep_req_t |
Parameters of Active_desc_req primitive.
To be put into buffer as data (means - after space alloc).
typedef struct zb_zdo_match_desc_param_s zb_zdo_match_desc_param_t |
Parameters of match_desc_req primitive.
To be put into buffer as data (means - after space alloc).
typedef struct zb_zdo_match_desc_resp_s zb_zdo_match_desc_resp_t |
Match_Desc_rsp response structure.
typedef struct zb_zdo_node_desc_req_s zb_zdo_node_desc_req_t |
Parameters of Node_desc_req primitive.
To be put into buffer as data (means - after space alloc).
typedef struct zb_zdo_power_desc_req_s zb_zdo_power_desc_req_t |
Parameters of Power_desc_req primitive.
To be put into buffer as data (means - after space alloc).
typedef struct zb_zdo_simple_desc_req_s zb_zdo_simple_desc_req_t |
Parameters of Simple_desc_req primitive.
To be put into buffer as data (means - after space alloc).
Parameters for System_Server_Discovery_req call.
Request parameters for System_Server_Discovery_req.
Response parameters for System_Server_Discovery_rsp.
zb_uint8_t zb_zdo_active_ep_req | ( | zb_uint8_t | param, |
zb_callback_t | cb | ||
) |
Active_desc_req primitive.
param | - index of buffer with primitive parameters zb_zdo_active_ep_req_s. Parameters must be put into buffer as data (allocated). |
cb | - user's function to call when got response from the remote. |
Example:
zb_uint8_t zb_zdo_match_desc_req | ( | zb_uint8_t | param, |
zb_callback_t | cb | ||
) |
Match_desc_req primitive.
param | - index of buffer with primitive parameters zb_zdo_match_desc_param_s. |
cb | - user's function to call when got response from the remote. If command is broadcast, then user's function will be called as many times as number of responses received plus one more time with status ZB_ZDP_STATUS_TIMEOUT to indicate that no more responses will be received. |
Example:
See light_sample
zb_uint8_t zb_zdo_node_desc_req | ( | zb_uint8_t | param, |
zb_callback_t | cb | ||
) |
Node_desc_req primitive.
param | - index of buffer with primitive parameters zb_zdo_node_desc_req_s. Parameters must be put into buffer as data (allocated). |
cb | - user's function to call when got response from the remote. |
Example:
zb_uint8_t zb_zdo_power_desc_req | ( | zb_uint8_t | param, |
zb_callback_t | cb | ||
) |
Power_desc_req primitive.
param | - index of buffer with primitive parameters zb_zdo_power_desc_req_s. Parameters must be put into buffer as data (allocated). |
cb | - user's function to call when got response from the remote. |
Example:
zb_uint8_t zb_zdo_simple_desc_req | ( | zb_uint8_t | param, |
zb_callback_t | cb | ||
) |
Simple_desc_req primitive.
param | - index of buffer with primitive parameters zb_zdo_simple_desc_req_s. |
cb | - user's function to call when got response from the remote. |
Example:
zb_uint8_t zb_zdo_system_server_discovery_req | ( | zb_uint8_t | param, |
zb_callback_t | cb | ||
) |
Performs System_Server_Discovery_req.
param | - index of buffer with request parameters zb_zdo_system_server_discovery_param_t |
cb | - user's function to call when got response from the remote. zb_zdo_system_server_discovery_resp_s |
Example: