10#ifndef TR_IDENTIFY_SERVER_H
11#define TR_IDENTIFY_SERVER_H
18#if defined(TR_IDENTIFY_SERVER_PLUGIN_PRINT_ENABLE) && (TR_IDENTIFY_SERVER_PLUGIN_PRINT_ENABLE == 1)
19#define tr_identify_server_printf(...) tr_zcl_printf(__VA_ARGS__)
20#define tr_identify_server_println(...) tr_zcl_println(__VA_ARGS__)
22#define tr_identify_server_printf(...)
23#define tr_identify_server_println(...)
48 zb_uint8_t *new_value,
102 zb_uint16_t timeout_sec);
131 zb_uint16_t timeout_sec);
zb_uint8_t effect_variant
Definition tr_zcl_cmd_structs.h:37
zb_uint8_t effect_id
Definition tr_zcl_cmd_structs.h:36
zb_uint8_t commission_state_mask
Definition tr_zcl_cmd_structs.h:30
zb_uint8_t action
Definition tr_zcl_cmd_structs.h:23
zb_uint16_t identify_time
Definition tr_zcl_cmd_structs.h:17
tr_status_t
Definition tr_zcl_type.h:2292
tr_status_t tr_identify_server_start_identifying(zb_uint8_t endpoint, zb_uint16_t timeout_sec)
API used to start identify on the local device.
tr_status_t tr_identify_server_stop_identifying(zb_uint8_t endpoint)
API used to stop identify on the local device.
zb_uint16_t tr_identify_server_is_identifying(zb_uint8_t endpoint)
API used to check if local device is identifing.
zb_bool_t tr_identify_server_identify_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint16_t identify_time)
Callback that user can declare to handle identify cluster identify command.
void tr_identify_server_init_cb(zb_uint8_t endpoint)
Callback fires when the Identify server cluster plugin is initialized.
void tr_identify_server_identify_stop_cb(zb_uint8_t endpoint)
Callback fires when identify behavior stops.
zb_bool_t tr_identify_server_ez_mode_invoke_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t action)
Callback that user can declare to handle identify clusterez mode invoke command.
void tr_identify_server_message_sent_cb(zb_bufid_t param)
Callback fires when identify plugin response has a message sent status This status is based on the AP...
zb_bool_t tr_identify_server_trigger_effect_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t effect_id, zb_uint8_t effect_variant)
Callback that user can declare to handle identify cluster trigger effect command.
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.
zb_bool_t tr_identify_server_update_commission_state_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t action, zb_uint8_t commission_state_mask)
Callback that user can declare to handle identify cluster update commission state command.
zb_bool_t tr_identify_server_identify_query_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint)
Callback that user can declare to handle identify cluster identify query command.
zb_bool_t tr_identify_server_command_received_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle any Identify server commands.
void tr_identify_server_identify_start_cb(zb_uint8_t endpoint, zb_uint16_t timeout_sec)
Callback fires when identify behavior is started.
Trident application framework include.
tr_conn_state_e
Definition tr_af.h:24
void tr_identify_server_connection_state_cb(tr_conn_state_e conn_state)
void tr_identify_server_init(void)
zb_uint8_t endpoint
Definition tr_nvram_attr.h:176
zb_uint16_t manuf_code
Definition tr_nvram_attr.h:180
zb_uint16_t attr_id
Definition tr_nvram_attr.h:178