ESP8266 Developer Zone The Official ESP8266 Forum 2016-12-22T13:25:35+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3194 2016-12-22T13:25:35+08:00 2016-12-22T13:25:35+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3194&p=10955#p10955 <![CDATA[Re: wifi_station_connect() does a re-scan, why?]]> 1. yes,wifi_station_connect() does a re-scan,because don't know which channel,re-scan can confirm which channel ,then connect the router
2.you can user system_phy_set_max_tpw()to set greatest value for RF tx power.you can consult a document.
http://espressif.com/sites/default/file ... faq_cn.pdf

Statistics: Posted by ESP_Xutao — Thu Dec 22, 2016 1:25 pm


]]>
2016-12-15T23:41:38+08:00 2016-12-15T23:41:38+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3194&p=10902#p10902 <![CDATA[wifi_station_connect() does a re-scan, why?]]> i tried to control the scan and connection sequence on my own and i got it,at least in a simple way.
I am with NON OS SDK 2.0.0.
Commands seems to work well, but at the end of my scan after a positive match with a specified AP i noticed that wifi_station_connect() performs a new scan before the module gets connected.
Now, my mandatory goal is to reduce current consumption at startup end therefore to speed up the connection sequence.

I wonder :
- Is it normal that wifi_station_connect() does its personal scan even if mine was successful ?
- Is it possible to avoid this extra scan and pass scan result as connection target ?

Thanks in advance.

Statistics: Posted by Mdb — Thu Dec 15, 2016 11:41 pm


]]>