
Data Structures | |
| struct | zb_zdo_mgmt_bind_param_s |
| Parameters for Mgmt_Bind_req. More... | |
| struct | zb_zdo_mgmt_bind_req_s |
| Request for Mgmt_Bind_req. More... | |
| struct | zb_zdo_mgmt_bind_resp_s |
| Response for Mgmt_Bind_rsp. More... | |
| struct | zb_zdo_binding_table_record_s |
| BindingTableList Record Format for mgmt_bind_resp. See ZB spec, Table 2.131. More... | |
| struct | zb_zdo_raw_req_param_s |
| Parameters for zb_zdo_raw_req call. More... | |
| struct | zb_zdo_raw_resp_param_s |
| Parameters of zb_zdo_raw_resp call. More... | |
| struct | zb_zdo_raw_resp_s |
| Response by Raw_req. More... | |
| struct | zb_zdo_bind_req_param_s |
| Parameters for Bind_req API call. More... | |
| struct | zb_zdo_bind_req_head_s |
| Bind_req request head send to the remote. More... | |
| struct | zb_zdo_bind_req_tail_1_s |
| Bind_req request tail 1st variant send to the remote. More... | |
| struct | zb_zdo_bind_req_tail_2_s |
| Bind_req request tail 2nd variant send to the remote. More... | |
| struct | zb_zdo_bind_resp_s |
| Response by Bind_req. More... | |
| struct | zb_zdo_end_device_bind_req_head_s |
| End_Device_Bind_req command head. More... | |
| struct | zb_zdo_end_device_bind_req_tail_s |
| End_Device_Bind_req command head. More... | |
| struct | zb_end_device_bind_req_param_s |
| Parameters for End_Device_Bind_req. More... | |
| struct | zb_zdo_end_device_bind_resp_s |
| Response from End_Device_Bind_req. More... | |
Typedefs | |
| typedef zb_uint8_t | zb_bind_dst_addr_mode_t |
| Type for bind destination address mode. More... | |
| typedef struct zb_zdo_mgmt_bind_param_s | zb_zdo_mgmt_bind_param_t |
| Parameters for Mgmt_Bind_req. More... | |
| typedef struct zb_zdo_mgmt_bind_req_s | zb_zdo_mgmt_bind_req_t |
| Request for Mgmt_Bind_req. More... | |
| typedef struct zb_zdo_mgmt_bind_resp_s | zb_zdo_mgmt_bind_resp_t |
| Response for Mgmt_Bind_rsp. More... | |
| typedef struct zb_zdo_binding_table_record_s | zb_zdo_binding_table_record_t |
| BindingTableList Record Format for mgmt_bind_resp. See ZB spec, Table 2.131. | |
| typedef struct zb_zdo_raw_req_param_s | zb_zdo_raw_req_param_t |
| Parameters for zb_zdo_raw_req call. | |
| typedef struct zb_zdo_raw_resp_param_s | zb_zdo_raw_resp_param_t |
| Parameters of zb_zdo_raw_resp call. | |
| typedef struct zb_zdo_raw_resp_s | zb_zdo_raw_resp_t |
| Response by Raw_req. | |
| typedef struct zb_zdo_bind_req_param_s | zb_zdo_bind_req_param_t |
| Parameters for Bind_req API call. More... | |
| typedef struct zb_zdo_bind_req_head_s | zb_zdo_bind_req_head_t |
| Bind_req request head send to the remote. More... | |
| typedef struct zb_zdo_bind_req_tail_1_s | zb_zdo_bind_req_tail_1_t |
| Bind_req request tail 1st variant send to the remote. More... | |
| typedef struct zb_zdo_bind_req_tail_2_s | zb_zdo_bind_req_tail_2_t |
| Bind_req request tail 2nd variant send to the remote. More... | |
| typedef struct zb_zdo_bind_resp_s | zb_zdo_bind_resp_t |
| Response by Bind_req. | |
| typedef struct zb_zdo_end_device_bind_req_head_s | zb_zdo_end_device_bind_req_head_t |
| End_Device_Bind_req command head. More... | |
| typedef struct zb_zdo_end_device_bind_req_tail_s | zb_zdo_end_device_bind_req_tail_t |
| End_Device_Bind_req command head. More... | |
| typedef struct zb_end_device_bind_req_param_s | zb_end_device_bind_req_param_t |
| Parameters for End_Device_Bind_req. More... | |
| typedef struct zb_zdo_end_device_bind_resp_s | zb_zdo_end_device_bind_resp_t |
| Response from End_Device_Bind_req. More... | |
Functions | |
| zb_uint8_t | zb_zdo_mgmt_bind_req (zb_uint8_t param, zb_callback_t cb) |
| Sends Mgmt_Bind_req request. More... | |
| void | zdo_mgmt_bind_resp (zb_uint8_t param) |
| Sends 2.4.4.3.4 Mgmt_Bind_rsp. More... | |
| zb_uint8_t | zb_zdo_bind_req (zb_uint8_t param, zb_callback_t cb) |
| Bind_req request. More... | |
| zb_uint8_t | zb_zdo_unbind_req (zb_uint8_t param, zb_callback_t cb) |
| Unbind_req request. More... | |
| void | zb_zdo_unbind_all_local (zb_uint8_t param) |
| Perform unbind all entries locally. This custom function and it is not described in Zigbee specification. More... | |
| void | zb_zdo_check_binding_request (zb_bufid_t param) |
| Checks if the binding with specified parameters exists. | |
| zb_uint8_t | zb_end_device_bind_req (zb_uint8_t param, zb_callback_t cb) |
Bind destination address mode | |
The addressing mode for the destination address used in zb_zdo_binding_table_record_s, zb_zdo_bind_req_param_s, zb_zdo_bind_req_head_s command. This field can take one of the non-reserved values from the list of defines below (bind_dst_addr_mode). Values 0x00, 0x02, 0x04-0xff are reserved.
| |
| #define | ZB_BIND_DST_ADDR_MODE_16_BIT_GROUP 0x01U |
| #define | ZB_BIND_DST_ADDR_MODE_64_BIT_EXTENDED 0x03U |
| #define ZB_BIND_DST_ADDR_MODE_16_BIT_GROUP 0x01U |
16-bit group address for DstAddress and DstEndp not present
| #define ZB_BIND_DST_ADDR_MODE_64_BIT_EXTENDED 0x03U |
64-bit extended address for DstAddress and DstEndp present
| typedef zb_uint8_t zb_bind_dst_addr_mode_t |
Type for bind destination address mode.
| typedef struct zb_end_device_bind_req_param_s zb_end_device_bind_req_param_t |
Parameters for End_Device_Bind_req.
| typedef struct zb_zdo_bind_req_head_s zb_zdo_bind_req_head_t |
Bind_req request head send to the remote.
| typedef struct zb_zdo_bind_req_param_s zb_zdo_bind_req_param_t |
Parameters for Bind_req API call.
| typedef struct zb_zdo_bind_req_tail_1_s zb_zdo_bind_req_tail_1_t |
Bind_req request tail 1st variant send to the remote.
| typedef struct zb_zdo_bind_req_tail_2_s zb_zdo_bind_req_tail_2_t |
Bind_req request tail 2nd variant send to the remote.
End_Device_Bind_req command head.
End_Device_Bind_req command head.
| typedef struct zb_zdo_end_device_bind_resp_s zb_zdo_end_device_bind_resp_t |
Response from End_Device_Bind_req.
| typedef struct zb_zdo_mgmt_bind_param_s zb_zdo_mgmt_bind_param_t |
Parameters for Mgmt_Bind_req.
| typedef struct zb_zdo_mgmt_bind_req_s zb_zdo_mgmt_bind_req_t |
Request for Mgmt_Bind_req.
| typedef struct zb_zdo_mgmt_bind_resp_s zb_zdo_mgmt_bind_resp_t |
Response for Mgmt_Bind_rsp.
| zb_uint8_t zb_end_device_bind_req | ( | zb_uint8_t | param, |
| zb_callback_t | cb | ||
| ) |
sends 2.4.3.2.1 End_Device_Bind_req command
| param | - index of buffer with request |
| cb | - user's function to call when got response from the remote. |
| zb_uint8_t zb_zdo_bind_req | ( | zb_uint8_t | param, |
| zb_callback_t | cb | ||
| ) |
Bind_req request.
| param | - index of buffer with request. zb_zdo_bind_req_param_s |
| cb | - user's function to call when got response from the remote. zb_zdo_bind_resp_s |
Example:
| zb_uint8_t zb_zdo_mgmt_bind_req | ( | zb_uint8_t | param, |
| zb_callback_t | cb | ||
| ) |
Sends Mgmt_Bind_req request.
| param | reference to the buffer to put request data to. |
| cb | callback to be called on operation finish. |
| void zb_zdo_unbind_all_local | ( | zb_uint8_t | param | ) |
Perform unbind all entries locally. This custom function and it is not described in Zigbee specification.
| param | - not used. |
| zb_uint8_t zb_zdo_unbind_req | ( | zb_uint8_t | param, |
| zb_callback_t | cb | ||
| ) |
Unbind_req request.
| param | - index of buffer with request. zb_zdo_bind_req_param_s |
| cb | - user's function to call when got response from the remote. zb_zdo_bind_resp_s |
Example:
| void zdo_mgmt_bind_resp | ( | zb_uint8_t | param | ) |
Sends 2.4.4.3.4 Mgmt_Bind_rsp.
| param | - index of buffer with Mgmt_Bind request |