Documentation
Includes
tuya_cloud_types.h
#include "tuya_cloud_types.h"
tuya_cloud_com_defs.h
#include "tuya_cloud_com_defs.h"
tuya_cloud_base_defs.h
#include "tuya_cloud_base_defs.h"
tuya_iot_com_api.h
#include "tuya_iot_com_api.h"
tuya_os_adapter.h
#include "tuya_os_adapter.h"
Macros
Marco __TUYA_IOT_BASE_API_H
#define __TUYA_IOT_BASE_API_H
Marco tuya_iot_soc_init(cbs, product_key, sw_ver)
#define tuya_iot_soc_init(cbs, product_key, sw_ver) \
tuya_iot_soc_init_param(cbs, product_key, NULL, sw_ver)
Marco tuya_iot_reg_get_nw_stat_cb(nw_stat_cb)
#define tuya_iot_reg_get_nw_stat_cb(nw_stat_cb) \
tuya_iot_reg_get_nw_stat_cb_params(nw_stat_cb, 1);
Functions
Func tuya_iot_set_gw_prod_info
OPERATE_RET tuya_iot_set_gw_prod_info(IN CONST GW_PROD_INFO_S *prod_info);
Func tuya_iot_dev_init
OPERATE_RET tuya_iot_dev_init(IN CONST TY_IOT_CBS_S *cbs, IN CONST CHAR_T *firmware_key,
IN CONST CHAR_T *product_key, IN CONST CHAR_T *sw_ver,IN CONST DEV_TYPE_T tp,
IN CONST GW_ATTACH_ATTR_T *attr, IN CONST UINT_T attr_num);
Func tuya_iot_mcu_dev_init
OPERATE_RET tuya_iot_mcu_dev_init(IN CONST TY_IOT_CBS_S *cbs,IN CONST CHAR_T *product_key, IN CONST CHAR_T *p_firmware_key,\
IN CONST CHAR_T *sw_ver,IN CONST CHAR_T *mcu_sw_ver);
Func tuya_iot_soc_init_param
OPERATE_RET tuya_iot_soc_init_param(IN CONST TY_IOT_CBS_S *cbs,IN CONST CHAR_T *product_key,IN CONST CHAR_T *firmware_key,\
IN CONST CHAR_T *sw_ver);
Func tuya_iot_gw_unactive
OPERATE_RET tuya_iot_gw_unactive(VOID);
Func tuya_iot_gw_reset
OPERATE_RET tuya_iot_gw_reset(VOID);
Func tuya_iot_reg_get_nw_stat_cb_params
OPERATE_RET tuya_iot_reg_get_nw_stat_cb_params(IN CONST GET_NW_STAT_CB nw_stat_cb, IN CONST INT_T min_interval_s);
Vars
Consts
Types
Typedefs