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

Functions

void tr_identify_server_init_cb (void)
 Callback fires when identify server cluster is initialized.
 
void tr_identify_server_identify_start_cb (zb_uint8_t endpoint, zb_uint16_t timeout_sec)
 Callback fires when identify behavior is started.
 
void tr_identify_server_identify_stop_cb (zb_uint8_t endpoint)
 Callback fires when identify behavior stops.
 
zb_ret_t tr_identify_server_trigger_effect_cb (zb_zcl_identify_effect_user_app_schedule_t *invoke_data)
 Callback fires when trigger effect command is received.
 
void tr_identify_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 an identify server attribute is about to be written.
 

Detailed Description



Function Documentation

◆ tr_identify_server_identify_start_cb()

void tr_identify_server_identify_start_cb ( zb_uint8_t endpoint,
zb_uint16_t timeout_sec )

Callback fires when identify behavior is started.

Parameters
endpointdevice endpoint
timeout_secidentify duration in seconds

◆ tr_identify_server_identify_stop_cb()

void tr_identify_server_identify_stop_cb ( zb_uint8_t endpoint)

Callback fires when identify behavior stops.

Parameters
endpointdevice endpoint

◆ tr_identify_server_init_cb()

void tr_identify_server_init_cb ( void )

Callback fires when identify server cluster is initialized.

◆ tr_identify_server_trigger_effect_cb()

zb_ret_t tr_identify_server_trigger_effect_cb ( zb_zcl_identify_effect_user_app_schedule_t * invoke_data)

Callback fires when trigger effect command is received.

Parameters
invoke_datastruct with zcl header info and command parameters
Returns
RET_OK if successful, else send response command with error

◆ tr_identify_server_write_attr_cb()

void tr_identify_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 an identify 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