English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

How to obtain the Wi-Fi network status?

Last Updated on2025-09-04 10:40:08
The following interface can be used
/**
 * @brief Get device network state
 *
 * @param[out] nw_stat Network state, see GW_WIFI_NW_STAT_E
 *
 * @return OPRT_OK on success. Others on error, please refer to tuya_error_code.h
 */
OPERATE_RET get_wf_gw_nw_status(OUTGW_WIFI_NW_STAT_E*nw_stat);

Click for services and help

Help Center