
Data Structures | |
| struct | zb_aps_hdr_s |
| Parsed APS header. More... | |
| struct | zb_apsme_binding_req_s |
| APSME binding structure. More... | |
| struct | zb_aps_check_binding_req_s |
| struct | zb_aps_check_binding_resp_s |
| struct | zb_apsme_add_group_req_s |
| APSME-ADD-GROUP.request primitive parameters, should be passed to zb_zdo_add_group_req() More... | |
| struct | zb_apsme_add_group_conf_s |
| APSME-ADD-GROUP.confirm primitive parameters. More... | |
| struct | zb_apsme_remove_all_groups_req_s |
| APSME-REMOVE-ALL-GROUPS.request primitive parameters, should be passed to zb_zdo_remove_all_groups_req(). More... | |
| struct | zb_apsme_remove_all_groups_conf_s |
| APSME-REMOVE-ALL-GROUPS.confirm primitive parameters. More... | |
Enumerations | |
| enum | zb_aps_user_payload_cb_status_e { ZB_APS_USER_PAYLOAD_CB_STATUS_SUCCESS = (zb_uint8_t)0x00, ZB_APS_USER_PAYLOAD_CB_STATUS_NO_APS_ACK = (zb_uint8_t)0xbe } |
| APS user payload transmission status. More... | |
Functions | |
| ZB_ASSERT_IF_NOT_ALIGNED_TO_4 (zb_aps_hdr_t) | |
| zb_bool_t | zb_aps_is_endpoint_in_group (zb_uint16_t group_id, zb_uint8_t endpoint) |
| void | zb_apsme_bind_request (zb_uint8_t param) |
| APSME-BIND.request primitive. More... | |
| void | zb_apsme_unbind_request (zb_uint8_t param) |
| APSME-UNBIND.request primitive. More... | |
| void | zb_apsme_unbind_all (zb_uint8_t param) |
| Perform unbind all entries. This custom function and it is not described in Zigbee specification. More... | |
| void | zb_aps_check_binding_request (zb_bufid_t param) |
| Checks if the binding with specified parameters exists. More... | |
| void | zb_apsme_add_group_request (zb_uint8_t param) |
| APSME-ADD-GROUP.request primitive. More... | |
| void | zb_apsme_remove_group_request (zb_uint8_t param) |
| APSME-REMOVE-GROUP.request primitive. More... | |
| void | zb_apsme_remove_all_groups_request (zb_uint8_t param) |
| APSME-REMOVE-ALL-GROUPS.request primitive. More... | |
| void | zb_aps_add_max_trans_size (zb_uint16_t short_addr, zb_uint16_t max_trans_size, zb_uint8_t max_buffer_size) |
| zb_uint16_t | zb_aps_get_max_trans_size (zb_uint16_t short_addr) |
| zb_uint8_t | zb_aps_get_max_buffer_size (zb_uint16_t short_addr) |
| zb_ret_t | zb_aps_send_user_payload (zb_uint8_t param, zb_addr_u dst_addr, zb_uint16_t profile_id, zb_uint16_t cluster_id, zb_uint8_t dst_endpoint, zb_uint8_t src_endpoint, zb_uint8_t addr_mode, zb_bool_t aps_ack_is_enabled, zb_uint8_t *payload_ptr, zb_uint8_t payload_size) |
| Send user payload using APS. More... | |
| zb_uint8_t * | zb_aps_get_aps_payload (zb_uint8_t param, zb_uint8_t *aps_payload_size) |
| Get pointer to an APS payload. More... | |
| void | zb_aps_set_user_data_tx_cb (zb_aps_user_payload_callback_t cb) |
| Set callback to notify results of transmitting an APS frame with user payload. More... | |
| void | zb_af_set_zdo_data_conf_cb (zb_callback_t cb) |
| Set callback to be called when ZDO command packet is sent. More... | |
| #define FIRST_INTERNAL_APSIND_FIELD extended_fc |
| #define ZB_APS_DELIVERY_BROADCAST 2U |
Broadcast frame delivery.
| #define ZB_APS_DELIVERY_GROUP 3U |
Group frame delivery.
| #define ZB_APS_DELIVERY_RESERVED 1U |
Reserved value, see Zigbee spec, subclause 2.2.5.1.1.2
| #define ZB_APS_DELIVERY_UNICAST 0U |
Unicast frame delivery.
| #define ZB_APS_FC_GET_DELIVERY_MODE | ( | fc | ) | (((fc)>>2U) & 3U) |
| void zb_aps_add_max_trans_size | ( | zb_uint16_t | short_addr, |
| zb_uint16_t | max_trans_size, | ||
| zb_uint8_t | max_buffer_size | ||
| ) |
| zb_uint8_t zb_aps_get_max_buffer_size | ( | zb_uint16_t | short_addr | ) |
| zb_uint16_t zb_aps_get_max_trans_size | ( | zb_uint16_t | short_addr | ) |