@one_piece 重连新的WIFI不需要重启,调用wlan_sta_disable() 、wlan_sta_config(ssid, ssid_len, psk, flag)、wlan_sta_enable(),改成想要的ssid与psk即可。