Hi guys,
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.
wifi_station_connect() does a re-scan, why?
Re: wifi_station_connect() does a re-scan, why?
Postby ESP_Xutao » Thu Dec 22, 2016 1:25 pm
hi:
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
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
Who is online
Users browsing this forum: No registered users and 60 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.