11#ifndef __TKL_ZCL_GROUP_H__
12#define __TKL_ZCL_GROUP_H__
19#include "tuya_cloud_types.h"
23typedef VOID_T (*TKL_ADD_GROUP_CB)(UINT8_T ep_id, UINT16_T group_id);
24typedef VOID_T (*TKL_VIEW_GROUP_CB)(UINT8_T ep_id, UINT16_T group_id);
25typedef VOID_T (*TKL_REMOVE_GROUP_CB)(UINT8_T ep_id, UINT16_T group_id);
31 TKL_ADD_GROUP_CB add_group_cb;
32 TKL_VIEW_GROUP_CB view_group_cb;
33 TKL_REMOVE_GROUP_CB remove_group_cb;
Definition: tkl_zcl_group.h:30
BOOL_T tkl_zg_add_group(UINT8_T ep_id, UINT16_T group_id)
add group at location endpoint
BOOL_T tkl_zg_remove_group(UINT8_T ep_id, UINT16_T group_id)
remove group at location endpoint
OPERATE_RET tkl_zg_group_cb_register(TKL_GROUP_CB_T *group_cb)
group callback register
BOOL_T tkl_zg_find_group(UINT8_T ep_id, UINT16_T group_id)
find group on endpoint
VOID_T tkl_zg_clear_all_group(VOID_T)
clear all group