Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By mienki
#76771 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
User avatar
By mienki
#76836 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 );