-->
Page 1 of 1

ESP8266 fastest conection

PostPosted: Sun Jul 01, 2018 3:38 pm
by mienki
Hi,


Is there any "fast connection lib fro ESP8266"?
Id like to make a fast connection after hard reset.

I read that:

1. static IP
and
2.WiFi.begin(ssid, password,channel, bssid);

works faster than standard
WiFi.begin( ssid, password );

I tried and I can't see any difference.

There is a very good article
https://www.bakke.online/index.php/2017 ... work-scan/

about optimizing ESP8266 connection;

Basically:

1. try to connect using: channel, bssid etc. stored in memory
(for the first time this connection will be failed - no data in the memory)
2. connect using standard
WiFi.begin( ssid, password );
3. store bssid, channel etc. in memory
4. go to step 1.

Has anyone tried/found libs/examples?
(Im not good enough to write own libs)

Thx for help,
Michal

Re: ESP8266 fastest conection

PostPosted: Tue Jul 03, 2018 6:37 am
by mienki
I cant see any difference between:
(b seems to be even a bit faster)


a)
WiFi.mode( WIFI_STA );
WiFi.config( ip, gateway, subnet );
WiFi.begin(ssid, password,9, bssid);
and
b)
WiFi.begin( ssid, password );