TuyaOS
枚举 | 函数
tkl_reporting.h 文件参考

Common process - reporting 更多...

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

浏览源代码.

枚举

enum  TKL_REPORT_DIREC_E { TKL_REPORT_DIRECTION_REPORTED = 0x00 , TKL_REPORT_DIRECTION_RECEIVED = 0x01 }
 

函数

BOOL_T tkl_zg_add_reporting_entry (TKL_REPORT_TABLE_T *entery)
 add reporting entry to report table 更多...
 
VOID_T tkl_zg_clear_reporting_table (VOID_T)
 clear reporting table 更多...
 
VOID_T tkl_zg_load_default_reporting_table (VOID_T)
 load the default binding table registered during initialization 更多...
 
OPERATE_RET tkl_zg_reporting_init (TKL_REPORT_TABLE_T *entery, UINT8_T sums)
 zigbee reporting init and register reporting table 更多...
 

详细描述

Common process - reporting

版本
1.0.0
日期
2021-08-09

枚举类型说明

◆ TKL_REPORT_DIREC_E

枚举值
TKL_REPORT_DIRECTION_REPORTED 

The direction of active reporting

TKL_REPORT_DIRECTION_RECEIVED 

The direction of receiving data

函数说明

◆ tkl_zg_add_reporting_entry()

BOOL_T tkl_zg_add_reporting_entry ( TKL_REPORT_TABLE_T entery)

add reporting entry to report table

参数
[in]enteryreporting table entery
返回
TRUE on success. FALSE on error

◆ tkl_zg_clear_reporting_table()

VOID_T tkl_zg_clear_reporting_table ( VOID_T  )

clear reporting table

参数
[in]none
返回
none

◆ tkl_zg_load_default_reporting_table()

VOID_T tkl_zg_load_default_reporting_table ( VOID_T  )

load the default binding table registered during initialization

参数
[in]none
返回
none

◆ tkl_zg_reporting_init()

OPERATE_RET tkl_zg_reporting_init ( TKL_REPORT_TABLE_T entery,
UINT8_T  sums 
)

zigbee reporting init and register reporting table

参数
[in]enteryreporting table list
[in]sumsreporting table number
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h