Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
+ Collaboration diagram for Poll Control Server Callbacks:

Functions

void tr_poll_control_server_init_cb (void)
 Callback fires when poll control server cluster is initialized.
 
void tr_poll_control_server_started_cb (void)
 Callback fires when poll control server cluster is started.
 
zb_bool_t tr_poll_control_server_send_check_in_cb (void)
 Callback fires when poll control server sends a check in command.
 
zb_bool_t tr_poll_control_server_check_in_response_cb (zb_zcl_parsed_hdr_t *cmd_info)
 Callback that user can declare to handle poll control cluster check in response command.
 
zb_bool_t tr_poll_control_server_fast_poll_stop_cb (zb_zcl_parsed_hdr_t *cmd_info)
 Callback that user can declare to handle poll control cluster fast poll stop command.
 
zb_bool_t tr_poll_control_server_set_long_poll_interval_cb (zb_zcl_parsed_hdr_t *cmd_info)
 Callback that user can declare to handle poll control cluster set long poll interval command.
 
zb_bool_t tr_poll_control_server_set_short_poll_interval_cb (zb_zcl_parsed_hdr_t *cmd_info)
 Callback that user can declare to handle poll control cluster set short poll interval command.
 
void tr_poll_control_server_write_attr_cb (zb_uint8_t endpoint, zb_uint16_t attr_id, zb_uint8_t *new_value, zb_uint16_t manuf_code)
 Callback fires when a poll control server attribute is about to be written.
 

Detailed Description



Function Documentation

◆ tr_poll_control_server_check_in_response_cb()

zb_bool_t tr_poll_control_server_check_in_response_cb ( zb_zcl_parsed_hdr_t * cmd_info)

Callback that user can declare to handle poll control cluster check in response command.

Parameters
cmd_infostruct that contains zcl header info
Returns
ZB_FALSE to allow framework to continue processing the command

◆ tr_poll_control_server_fast_poll_stop_cb()

zb_bool_t tr_poll_control_server_fast_poll_stop_cb ( zb_zcl_parsed_hdr_t * cmd_info)

Callback that user can declare to handle poll control cluster fast poll stop command.

Parameters
cmd_infostruct that contains zcl header info
Returns
ZB_FALSE to allow framework to continue processing the command

◆ tr_poll_control_server_init_cb()

void tr_poll_control_server_init_cb ( void )

Callback fires when poll control server cluster is initialized.

◆ tr_poll_control_server_send_check_in_cb()

zb_bool_t tr_poll_control_server_send_check_in_cb ( void )

Callback fires when poll control server sends a check in command.

Returns
ZB_FALSE to prevent sending the check in command

◆ tr_poll_control_server_set_long_poll_interval_cb()

zb_bool_t tr_poll_control_server_set_long_poll_interval_cb ( zb_zcl_parsed_hdr_t * cmd_info)

Callback that user can declare to handle poll control cluster set long poll interval command.

Parameters
cmd_infostruct that contains zcl header info
Returns
ZB_FALSE to allow framework to continue processing the command

◆ tr_poll_control_server_set_short_poll_interval_cb()

zb_bool_t tr_poll_control_server_set_short_poll_interval_cb ( zb_zcl_parsed_hdr_t * cmd_info)

Callback that user can declare to handle poll control cluster set short poll interval command.

Parameters
cmd_infostruct that contains zcl header info
Returns
ZB_FALSE to allow framework to continue processing the command

◆ tr_poll_control_server_started_cb()

void tr_poll_control_server_started_cb ( void )

Callback fires when poll control server cluster is started.

◆ tr_poll_control_server_write_attr_cb()

void tr_poll_control_server_write_attr_cb ( zb_uint8_t endpoint,
zb_uint16_t attr_id,
zb_uint8_t * new_value,
zb_uint16_t manuf_code )

Callback fires when a poll control server attribute is about to be written.

Parameters
endpointdevice endpoint
attr_idZCL attribute id
new_valuepointer to the new attribute value
manuf_codemanufacturer specific code