10#ifndef TR_GROUPS_CLIENT_H
11#define TR_GROUPS_CLIENT_H
18#if defined(TR_GROUPS_CLIENT_PLUGIN_PRINT_ENABLE) && (TR_GROUPS_CLIENT_PLUGIN_PRINT_ENABLE == 1)
19#define tr_groups_client_printf(...) tr_zcl_printf(__VA_ARGS__)
20#define tr_groups_client_println(...) tr_zcl_println(__VA_ARGS__)
22#define tr_groups_client_printf(...)
23#define tr_groups_client_println(...)
48 zb_uint8_t *new_value,
void tr_groups_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 Groups client attribute is about to be written.
zb_bool_t tr_groups_client_command_received_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle any Groups client commands.
zb_bool_t tr_groups_client_add_group_response_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t status, zb_uint16_t group_id)
Callback that user can declare to handle groups cluster add group response command.
void tr_groups_client_init_cb(zb_uint8_t endpoint)
Callback fires when the Groups client cluster plugin is initialized.
zb_bool_t tr_groups_client_view_group_response_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t status, zb_uint16_t group_id, zb_uint8_t *group_name)
Callback that user can declare to handle groups cluster view group response command.
zb_bool_t tr_groups_client_remove_group_response_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t status, zb_uint16_t group_id)
Callback that user can declare to handle groups cluster remove group response command.
zb_bool_t tr_groups_client_get_group_membership_response_cb(zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t endpoint, zb_uint8_t capacity, zb_uint8_t group_count, zb_uint8_t *group_list)
Callback that user can declare to handle groups cluster get group membership response command.
Trident application framework include.
tr_door_lock_user_status_t status
Definition tr_door_lock_server.h:26
void tr_groups_client_init(void)
zb_uint8_t group_name[TR_GROUPS_SERVER_GROUP_NAME_MAX_LEN+1]
Definition tr_groups_server.h:26
zb_uint16_t group_id
Definition tr_groups_server.h:25
zb_uint8_t group_count
Definition tr_groups_server.h:32
zb_uint8_t capacity
Definition tr_groups_server.h:31
zb_uint16_t group_list[ZB_APS_GROUP_TABLE_SIZE]
Definition tr_groups_server.h:33
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