Developing with ZBOSS SDK for Zigbee
|
Data Structures | |
struct | zb_zdo_mgmt_permit_joining_resp_s |
Response from zb_zdo_mgmt_permit_joining_req. More... | |
struct | zb_zdo_not_supported_resp_s |
Not Supported Response. More... | |
struct | zb_zdo_mgmt_nwk_ieee_joining_list_param_s |
Parameters for Mgmt_NWK_IEEE_Joining_List_req. More... | |
struct | zb_zdo_mgmt_nwk_ieee_joining_list_req_s |
Request for Mgmt_NWK_IEEE_Joining_List_req. More... | |
struct | zb_zdo_mgmt_nwk_ieee_joining_list_rsp_s |
Response for Mgmt_NWK_IEEE_Joining_List_rsp. More... | |
Typedefs | |
typedef struct zb_zdo_mgmt_permit_joining_resp_s | zb_zdo_mgmt_permit_joining_resp_t |
Response from zb_zdo_mgmt_permit_joining_req. | |
typedef struct zb_zdo_not_supported_resp_s | zb_zdo_not_supported_resp_t |
Not Supported Response. | |
typedef struct zb_zdo_mgmt_nwk_ieee_joining_list_param_s | zb_zdo_mgmt_nwk_ieee_joining_list_param_t |
Parameters for Mgmt_NWK_IEEE_Joining_List_req. More... | |
typedef struct zb_zdo_mgmt_nwk_ieee_joining_list_req_s | zb_zdo_mgmt_nwk_ieee_joining_list_req_t |
Request for Mgmt_NWK_IEEE_Joining_List_req. More... | |
typedef struct zb_zdo_mgmt_nwk_ieee_joining_list_rsp_s | zb_zdo_mgmt_nwk_ieee_joining_list_rsp_t |
Response for Mgmt_NWK_IEEE_Joining_List_rsp. More... | |
Functions | |
void | zb_zdo_add_group_req (zb_uint8_t param) |
ZDO interface for ADD-GROUP.request. More... | |
void | zb_zdo_remove_group_req (zb_uint8_t param) |
ZDO interface for REMOVE-GROUP.request. More... | |
void | zb_zdo_remove_all_groups_req (zb_uint8_t param) |
ZDO interface for REMOVE-ALL-GROUPS.request. More... | |
void | zb_zdo_get_group_membership_req (zb_uint8_t param) |
ZDO interface for ZCL Get Group Membership Command. More... | |
Parameters for Mgmt_NWK_IEEE_Joining_List_req.
Request for Mgmt_NWK_IEEE_Joining_List_req.
Response for Mgmt_NWK_IEEE_Joining_List_rsp.
void zb_zdo_add_group_req | ( | zb_uint8_t | param | ) |
ZDO interface for ADD-GROUP.request.
param | - (in/out) buffer with parameters |
Example
See tp_pro_bv-46 sample
void zb_zdo_get_group_membership_req | ( | zb_uint8_t | param | ) |
ZDO interface for ZCL Get Group Membership Command.
param | - (in/out) buffer with parameters |
See aps_group_management sample
void zb_zdo_remove_all_groups_req | ( | zb_uint8_t | param | ) |
ZDO interface for REMOVE-ALL-GROUPS.request.
param | - (in/out) buffer with parameters |
See aps_group_management sample
void zb_zdo_remove_group_req | ( | zb_uint8_t | param | ) |
ZDO interface for REMOVE-GROUP.request.
param | - (in/out) buffer with parameters void group_remove_conf1(zb_uint8_t param)
{
zb_buf_t *buf = ZB_BUF_FROM_REF(param);
zb_apsme_remove_group_req_t *req = ZB_GET_BUF_PARAM(ZB_BUF_FROM_REF(param), zb_apsme_add_group_req_t);
zb_uint16_t grp_addr = req->group_address;
if (buf->u.hdr.status == RET_OK)
{
TRACE_MSG(TRACE_APS1, "[1] Remove from group %hd with endpoint %hd - confirm", (FMT__H_H, req->group_address, req->endpoint));
zb_buf_reuse(buf);
req = ZB_GET_BUF_PARAM(buf, zb_apsme_remove_group_req_t);
req->group_address = grp_addr;
req->endpoint = 0xEF;
ZDO_START_ROUTINE_WITH_CALLBACK(param, zb_zdo_remove_group_req, group_remove_conf2);
}
}
|