Limits to number of APs that wifi_station_scan can return?
Posted: Tue Feb 24, 2015 5:50 pm
Are there limits to the number of APs that wifi_station_scan can return? I am running into some problems in a building with 3 AP names, but many transceivers. Each transceiver has a unique MAC address, so wifi_station_scan is returning 3 entries for each MAC address, times the number of transceivers it finds, when it works.
In general, wifi_station_scan works once every few hours at this location. It will return a list once, then if another attempt is made to use wifi_stations_scan within a few hours it will return a status of either 1 or 4 to the callback routine. That is even after it has been powered off for an hour. If I wait a few hours more, then I get a list and a status of OK passed to the callback.
I'm wondering if the large number of transceivers is overwhelming the memory of the ESP8266 to the point where it can't handle the load, and that causes some kind of a problem in its stored list of APs. Just a guess, though.
At home, or in other residential neighborhoods I do not run into this problem. It seems to be limited to the school buildings (plural) I am trying this in.
In general, wifi_station_scan works once every few hours at this location. It will return a list once, then if another attempt is made to use wifi_stations_scan within a few hours it will return a status of either 1 or 4 to the callback routine. That is even after it has been powered off for an hour. If I wait a few hours more, then I get a list and a status of OK passed to the callback.
I'm wondering if the large number of transceivers is overwhelming the memory of the ESP8266 to the point where it can't handle the load, and that causes some kind of a problem in its stored list of APs. Just a guess, though.
At home, or in other residential neighborhoods I do not run into this problem. It seems to be limited to the school buildings (plural) I am trying this in.