Functions | |
zb_ret_t | zb_zcl_finish_and_send_packet (zb_buf_t *buffer, zb_uint8_t *ptr, zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint16_t cluster_id, zb_callback_t cb) |
ZCL finish and send packet. More... | |
zb_ret_t | zb_zcl_finish_and_send_packet_frag (zb_buf_t *buffer, zb_uint8_t *ptr, zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint16_t cluster_id, zb_callback_t cb, zb_bool_t frag) |
Types and macros shared fill Fill ZCL packet.
For more information see any HA sample
zb_ret_t zb_zcl_finish_and_send_packet | ( | zb_buf_t * | buffer, |
zb_uint8_t * | ptr, | ||
zb_addr_u * | dst_addr, | ||
zb_uint8_t | dst_addr_mode, | ||
zb_uint8_t | dst_ep, | ||
zb_uint8_t | ep, | ||
zb_uint16_t | prof_id, | ||
zb_uint16_t | cluster_id, | ||
zb_callback_t | cb | ||
) |
ZCL finish and send packet.
buffer | pointer to the buffer where ZCL cmd is stored |
ptr | pointer to the end of ZCL cmd in buffer |
dst_addr | destination address (see zb_addr_u) |
dst_addr_mode | destination address mode (only ZB_APS_ADDR_MODE_16_GROUP_ENDP_NOT_PRESENT and ZB_APS_ADDR_MODE_16_ENDP_PRESENT are supported) |
dst_ep | destination endpoint |
ep | source endpoint |
prof_id | profile the command belongs to |
cluster_id | cluster identifier |
cb | command send status callback |