Documentation

Documentation

Includes

tuya_cloud_com_defs.h

#include "tuya_cloud_com_defs.h"
#include "tuya_cloud_com_defs.h"

Macros

Marco TUYA_DEVOS_RESET_H

#define TUYA_DEVOS_RESET_H

      

Functions

Func tuya_devos_reset_init

OPERATE_RET tuya_devos_reset_init(tuya_reset_t *param);
/**
 * @brief Initialize reset module
 * 
 * @param[in] param See tuya_reset_t
 * 
 * @return OPRT_OK on success. Others on error, please refer to tuya_error_code.h
 */

Func gw_fast_unactive

OPERATE_RET gw_fast_unactive(IN CONST GW_WF_CFG_MTHD_SEL mthd,IN CONST GW_WF_START_MODE wifi_start_mode);
/**
 * @brief Faset reset device to register state
 * 
 * @param[in] mthd Wi-Fi netconfig method, see GW_WF_CFG_MTHD_SEL
 * @param[in] wifi_start_mode Wi-Fi start mode, see GW_WF_START_MODE
 * 
 * @return OPRT_OK on success. Others on error, please refer to tuya_error_code.h
 */

Func gw_unregister

OPERATE_RET gw_unregister(IN CONST GW_RESET_S *rst_t);
/**
 * @brief Reset device to unregister state
 * 
 * @param[in] rst_t Reset type, see GW_RESET_S
 * 
 * @return OPRT_OK on success. Others on error, please refer to tuya_error_code.h
 */

Func gw_unactive

OPERATE_RET gw_unactive(IN CONST GW_RESET_S *rst_t);
/**
 * @brief Reset device to register state
 * 
 * @param[in] rst_t Reset type, see GW_RESET_S
 * 
 * @return OPRT_OK on success. Others on error, please refer to tuya_error_code.h
 */

Vars

Consts

Types

Typedefs

Typedef tuya_reset_t;

typedef struct {
   UINT_T resved;
}tuya_reset_t;