TuyaOS
tkl_attribute_rw.h
浏览该文件的文档.
1
11#ifndef __TKL_ATTRIBUTE_RW_H__
12#define __TKL_ATTRIBUTE_RW_H__
13
14
15#ifdef __cplusplus
16 extern "C" {
17#endif
18
19#include "tuya_cloud_types.h"
20#include "tuya_zigbee_stack.h"
22
33 UINT16_T attr_id,
34 VOID_T *data,
35 UINT8_T len);
36
47 UINT16_T attr_id,
48 VOID_T *data,
49 ZG_ATTR_TYPE_E type);
50
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif
Definition: tkl_endpoint_register.h:46
OPERATE_RET tkl_zg_read_attribute(TKL_CLUSTER_TRIPLET_T *triplet, UINT16_T attr_id, VOID_T *data, UINT8_T len)
read attribute
OPERATE_RET tkl_zg_write_attribute(TKL_CLUSTER_TRIPLET_T *triplet, UINT16_T attr_id, VOID_T *data, ZG_ATTR_TYPE_E type)
write attribute
Common process - endpoint register
ZG_ATTR_TYPE_E
Definition: tuya_zigbee_attribute.h:36
Common process - zigbee stack