- Wed Dec 16, 2015 4:26 am
#36568
Thanks to your help, I've solved my problem :
1/ In /Users/vincentle/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp, I've replaced the line 592 by:
2/ Now, when I call:
I get all the Access Points, including those without SSID.
Now, martinayotte, can you help me with two more things:
1/ How do I suggest the development team to add a scanNetWorks(bool includeHidden, bool async) function?
2/ I've read the code, but I don't understand the link between scanNetworks() and WiFi.BSSIDstr(n) for instance.
First I thought that scanNetworks() would just return a number. So I looped from 1 to 100 to search for any hidden AP, but this doesn't return any other AP (with show_hidden=0). Then, I suppose there is something in the code that link scanned AP and only them to the "getters" functions. But as I'm not easy with C, I don't understand the mechanism.