-->
Page 1 of 1

scanNetworks function (single ssid) delay question

PostPosted: Wed May 23, 2018 11:03 am
by michalmonday
Hi, is there some valid purpose for the scanNetworks function to take around 2 seconds in order to complete even when the ssid parameter is used which should limit the scan for a single network?

Code: Select allint n = WiFi.scanNetworks(false, false, 0, (uint8*)"SKYE1234");


I'm using the line above that was which was quite recently:
https://github.com/esp8266/Arduino/commit/7820fb73a54137ca66be51184ddd76cd60c4d54d

I tried to find how exacly it scans for the networks hoping to modify it somehow but couldn't find it or just couldn't figure it out...

Is there a way to speed up the scan for a single network? (My goal is to get RSSI with high frequency of measurements for a single network, the network to which I don't have a password.)