TuyaOS
tuya_wifi_reset.h
1#ifndef __TUYA_WIFI_RESET_H__
2#define __TUYA_WIFI_RESET_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
16VOID_T wifi_clear_md(VOID);
17
28VOID_T wifi_save_start_mode(GW_WF_START_MODE wf_start_mode);
29
37VOID_T wifi_update_nc_tp(VOID_T);
38
39
47VOID wifi_factory_reset_nc_type(P_TUYA_WIFI_CFG_PARAM p_config_params, INOUT GW_WORK_STAT_MAG_S *gw_wsm);
48
59VOID_T tuya_wifi_link_set_custom_mode(BOOL_T bcustom);
60
61
70VOID set_wf_netcfg_timeout(UINT_T timeout_s);
71
80OPERATE_RET tuya_wifi_reset_start_timer(VOID_T);
81
90OPERATE_RET tuya_wifi_reset_stop_timer(VOID_T);
91
110OPERATE_RET tuya_wifi_reset_config(IN CONST GW_WF_START_MODE wifi_start_mode, IN CONST BOOL_T force_clean, OUT GW_WF_NWC_STAT_T *p_nc_tp, GW_WF_MD_T* p_md);
111
124OPERATE_RET tuya_wifi_reset_init(CONST GW_WF_CFG_MTHD_SEL mthd, GW_WF_MD_T md);
125
137VOID_T tuya_wifi_params_validate(GW_WORK_STAT_MAG_S* p_gw_wsm);
138
151OPERATE_RET tuya_wifi_reset_fast(IN CONST GW_WF_START_MODE wifi_start_mode, CONST GW_WF_CFG_MTHD_SEL mthd, IN CONST BOOL_T force_clean);
152
153
154#ifdef __cplusplus
155}
156#endif
157
158#endif
Definition of device work state
Definition: gw_intf.h:96
tuya wifi netcfg params, mthd and start mode
Definition: tuya_wifi_link.h:22