-->
Page 1 of 2

wifi_station_scan() returns no SSIDs in certain locations

PostPosted: Thu Jan 07, 2016 11:08 am
by vonny232
Hi all,
I have an unusual problem with our ESP-06 project.

It appears that in some buildings (i.e. some WIFI environments) the wifi_station_scan() does not return any SSIDs when I know there should be.

For example, the SSID scan works fine here at work, but does not work at home (or at a colleagues home). There is nothing remarkable about our houses (I live in a small residential estate, a colleague lives deep in the countryside).

This isn't a random event. The SSID Scan fails consistently at our addresses, but will consistently work in the office.

Interestingly, the SSID scan DID work with SDK version 1.3.0, but we had to upgrade to v1.4.0 due to compatibility issues with some laptop WIFI cards (which SDK 1.4.0 successfully resolved).

I upgraded to SDK version 1.5.0 a few days ago and recompiled, but the new code still does not scan SSIDs properly in certain locations.

Has anyone else come across this?

Re: wifi_station_scan() returns no SSIDs in certain location

PostPosted: Sun Jan 10, 2016 12:46 pm
by Aires Pestana
There is a problem with this function

"wifi station scan (0, wifiScanDoneCb)"
********************************************************************
Results with ESP8266_SDK_130;

{"essid": "ZON-A670", "rssi": "175", "enc": "4"},
{"essid": "FON_ZON_FREE_INTERNET", "rssi": "177", "enc": "0"},
{"essid": "ZyXEL", "rssi": "189", "enc": "0"},
{"essid": "ZyXEL", "rssi": "190", "enc": "0"},
{"essid": "ZON-B3F0", "rssi": "180", "enc": "4"},
{"essid": "FON_ZON_FREE_INTERNET", "rssi": "183", "enc": "0"}
********************************************************************
Results with ESP8266_SDK_150

{"essid": "ZON-A670", "rssi": "12","enc": "175"},
{"essid": "FON_ZON_FREE_INTERNET", "rssi": "12","enc": "176"},
{"essid": "Kristoman", "rssi": "6", "enc": "181"},
{"essid": "ZyXEL", "rssi": "6", "enc": "190"},
{"essid": "ZyXEL", "rssi": "6", "enc": "190"},
{"essid": "ZON-B3F0", "rssi": "7", "enc": "180"},
{"essid": "FON_ZON_FREE_INTERNET", "rssi": "7", "enc": "183"}
********************************************************************
someone to report this error ....
or am I doing something wrong !!

Re: wifi_station_scan() returns no SSIDs in certain location

PostPosted: Mon Sep 26, 2016 7:49 pm
by jvadillo
I have exactly the same problem. Some SSID are not seen.

However, if I select the SSID by its known name and I try to connect, it works

Re: wifi_station_scan() returns no SSIDs in certain location

PostPosted: Tue Sep 27, 2016 12:33 am
by reaper7
@jvadillo - which one sdk You are using?
similar problem
https://github.com/esp8266/Arduino/issues/1355
has been corrected:
https://github.com/esp8266/Arduino/comm ... 6ebaa42a0c