Trident IoT Zigbee SDK
Loading...
Searching...
No Matches
tr_identify_client.h
Go to the documentation of this file.
1
10#ifndef TR_IDENTIFY_CLIENT_H
11#define TR_IDENTIFY_CLIENT_H
12
13#include "tr_af.h"
14
18#if defined(TR_IDENTIFY_CLIENT_PLUGIN_PRINT_ENABLE) && (TR_IDENTIFY_CLIENT_PLUGIN_PRINT_ENABLE == 1)
19#define tr_identify_client_printf(...) tr_zcl_printf(__VA_ARGS__)
20#define tr_identify_client_println(...) tr_zcl_println(__VA_ARGS__)
21#else
22#define tr_identify_client_printf(...)
23#define tr_identify_client_println(...)
24#endif
25
31
35
39zb_bool_t tr_identify_client_command_received_cb(zb_zcl_parsed_hdr_t *cmd_info);
40
47 zb_uint16_t attr_id,
48 zb_uint8_t *new_value,
49 zb_uint16_t manuf_code);
50
56zb_bool_t tr_identify_client_identify_query_response_cb(zb_zcl_parsed_hdr_t *cmd_info,
57 zb_uint8_t endpoint,
58 zb_uint16_t timeout);
59
61
66
67#endif // TR_IDENTIFY_CLIENT_H
zb_uint16_t timeout
Definition tr_zcl_cmd_structs.h:43
zb_bool_t tr_identify_client_command_received_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle any Identify client commands.
void tr_identify_client_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 client attribute is about to be written.
void tr_identify_client_init_cb(zb_uint8_t endpoint)
Callback fires when the Identify client cluster plugin is initialized.
zb_bool_t tr_identify_client_identify_query_response_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint16_t timeout)
Callback that user can declare to handle identify cluster identify query response command.
Trident application framework include.
void tr_identify_client_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