TuyaOS
成员变量
TKL_REPORT_TABLE_T结构体 参考

成员变量

UINT16_T attr_id
 attribute id
 
UINT16_T cluster_id
 cluster id, see ZG_CLUSTER_ID_E
 
union {
   struct {
      UINT8_T   endpoint
 remote endpoint from which the attribute is reported
 
      UINT16_T   source_addr
 node id of the source of the received reports
 
      UINT16_T   timeout
 max expected time between reports, measured in seconds
 
   }   received
 
   struct {
      UINT16_T   max_interval
 max reporting interval, measured in seconds
 
      UINT16_T   min_interval
 mini reporting interval, measured in seconds
 
      UINT32_T   report_change
 mini change to the attribute that will result in a report being sent
 
   }   reported
 
data
 
TKL_REPORT_DIREC_E direction
 reporting direction
 
UINT8_T ep_id
 endpoint id
 
UINT16_T manuf_code
 manufacture code default 0
 
ZG_CLUSTER_MASK_E mask
 reporting cluster mask
 

该结构体的文档由以下文件生成: