Common process - group
更多...
#include "tuya_cloud_types.h"
浏览源代码.
|
|
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) |
| |
Common process - group
- 版本
- 1.0.0
- 日期
- 2021-05-13
- 版权所有
- Copyright 2021-2022 Tuya Inc. All Rights Reserved.
◆ 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_id | endpoint |
| [in] | group_id | group id |
- 返回
- TRUE/ FALSE
◆ tkl_zg_clear_all_group()
| VOID_T tkl_zg_clear_all_group |
( |
VOID_T |
| ) |
|
clear all group
- 参数
-
- 返回
- 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_id | endpoint |
| [in] | group_id | group id |
- 返回
- TRUE/ FALSE
◆ tkl_zg_group_cb_register()
group callback register
- 参数
-
| [in] | group_cb | group 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_id | endpoint |
| [in] | group_id | group id |
- 返回
- TRUE/ FALSE