TuyaOS
结构体 | 类型定义 | 函数
tkl_zcl_group.h 文件参考

Common process - group 更多...

#include "tuya_cloud_types.h"
tkl_zcl_group.h 的引用(Include)关系图:

浏览源代码.

结构体

struct  TKL_GROUP_CB_T
 

类型定义

typedef VOID_T(* TKL_ADD_GROUP_CB) (UINT8_T ep_id, UINT16_T group_id)
 
typedef VOID_T(* TKL_REMOVE_GROUP_CB) (UINT8_T ep_id, UINT16_T group_id)
 
typedef VOID_T(* TKL_VIEW_GROUP_CB) (UINT8_T ep_id, UINT16_T group_id)
 

函数

BOOL_T tkl_zg_add_group (UINT8_T ep_id, UINT16_T group_id)
 add group at location endpoint 更多...
 
VOID_T tkl_zg_clear_all_group (VOID_T)
 clear all group 更多...
 
BOOL_T tkl_zg_find_group (UINT8_T ep_id, UINT16_T group_id)
 find group on endpoint 更多...
 
OPERATE_RET tkl_zg_group_cb_register (TKL_GROUP_CB_T *group_cb)
 group callback register 更多...
 
BOOL_T tkl_zg_remove_group (UINT8_T ep_id, UINT16_T group_id)
 remove group at location endpoint 更多...
 

详细描述

Common process - group

版本
1.0.0
日期
2021-05-13

函数说明

◆ tkl_zg_add_group()

BOOL_T tkl_zg_add_group ( UINT8_T  ep_id,
UINT16_T  group_id 
)

add group at location endpoint

参数
[in]ep_idendpoint
[in]group_idgroup id
返回
TRUE/ FALSE

◆ tkl_zg_clear_all_group()

VOID_T tkl_zg_clear_all_group ( VOID_T  )

clear all group

参数
[in]none
返回
none

◆ tkl_zg_find_group()

BOOL_T tkl_zg_find_group ( UINT8_T  ep_id,
UINT16_T  group_id 
)

find group on endpoint

参数
[in]ep_idendpoint
[in]group_idgroup id
返回
TRUE/ FALSE

◆ tkl_zg_group_cb_register()

OPERATE_RET tkl_zg_group_cb_register ( TKL_GROUP_CB_T group_cb)

group callback register

参数
[in]group_cbgroup callback collection
返回
0: success Other: fail

◆ tkl_zg_remove_group()

BOOL_T tkl_zg_remove_group ( UINT8_T  ep_id,
UINT16_T  group_id 
)

remove group at location endpoint

参数
[in]ep_idendpoint
[in]group_idgroup id
返回
TRUE/ FALSE