wifi_station_set_reconnect_policy(false); // if the ESP8266 station connected to the router, and then the connection broke, ESP8266 will not try to reconnect to the router.
wifi_station_set_auto_connect(false); //the ESP8266 station will not try to connect to the router automatically when power on until wifi_station_connect is called.
wifi_station_disconnect(); // ESP8266 station disconnects to the router, or ESP8266 station stops trying to connect to the target router.
wifi_station_set_reconnect_policy(false); // 如果 ESP8266 station 已经连接到某路由,但又从该路由上断开连接了,ESP8266 station 不会自动尝试重新连接该路由。
wifi_station_set_auto_connect(false); //ESP8266 station 在上电时不会自动尝试连接路由,需要调用 wifi_station_connect 才会进行连接路由。
wifi_station_disconnect(); // ESP8266 station 断开与某路由的连接,或者 ESP8266 station 停止尝试连接某路由。
Statistics: Posted by ESP_Faye — Fri Apr 03, 2015 3:57 pm