TuyaOS
结构体 | 函数
tkl_endpoint_register.h 文件参考

Common process - endpoint register 更多...

#include "tuya_zigbee_stack.h"
#include "tuya_cloud_types.h"
tkl_endpoint_register.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  TKL_ENDPOINT_T
 

函数

BOOL_T tkl_zg_attr_get (TKL_CLUSTER_TRIPLET_T *triplet, UINT16_T attr_id, TKL_ATTR_T *out_attr)
 get attribute details 更多...
 
UINT8_T tkl_zg_endpoint_count_get (VOID_T)
 get the total number of endpoints 更多...
 
OPERATE_RET tkl_zg_endpoint_register (CONST TKL_ENDPOINT_T *ep_desc, UINT8_T sums)
 endpoint used by dynamically registered uplayer, only be called once in the initialization process. 更多...
 
BOOL_T tkl_zg_match_cluster (TKL_CLUSTER_TRIPLET_T *triplet)
 match cluster on endpoint 更多...
 

详细描述

Common process - endpoint register

版本
1.0.0
日期
2021-04-21

函数说明

◆ tkl_zg_attr_get()

BOOL_T tkl_zg_attr_get ( TKL_CLUSTER_TRIPLET_T triplet,
UINT16_T  attr_id,
TKL_ATTR_T out_attr 
)

get attribute details

参数
[in]ep_idendpoint id
[in]attr_idattribute id
[out]out_attrattribute details output
返回
TRUE/ FALSE

◆ tkl_zg_endpoint_count_get()

UINT8_T tkl_zg_endpoint_count_get ( VOID_T  )

get the total number of endpoints

参数
[in]

return endpoint number

◆ tkl_zg_endpoint_register()

OPERATE_RET tkl_zg_endpoint_register ( CONST TKL_ENDPOINT_T ep_desc,
UINT8_T  sums 
)

endpoint used by dynamically registered uplayer, only be called once in the initialization process.

参数
[in]ep_descpoint to endpoint list
[in]sumsendpoint number
返回
0: success Other: fail

◆ tkl_zg_match_cluster()

BOOL_T tkl_zg_match_cluster ( TKL_CLUSTER_TRIPLET_T triplet)

match cluster on endpoint

参数
[in]tripletpoint to cluster triplet
返回
TRUE/ FALSE