Although up to now I have mainly been a Lua/NodeMCU user, I have also taken up the Arduino IDE for my current project as it's the only one with proper support for 433MHz radio.
Basically, I will be using MQTT to report on 433MHz signals from various physical locations. To do this, I need to be able to detect which WiFi networks are available, so that I can select the strongest.
I tried using WiFi.scanNetworksAsync(callbackfn), as given in this example:
https://arduino-esp8266.readthedocs.io/ ... class.html
but I get the following back
/home/moi/Code/Arduino/sketch_may30a/sketch_may30a.ino: In function 'void setup()':
sketch_may30a:35: error: 'class ESP8266WiFiClass' has no member named 'scanNetworksAsync'
WiFi.scanNetworksAsync(prinScanResult);
^
exit status 1
'class ESP8266WiFiClass' has no member named 'scanNetworksAsync'
Seems like the function is not included in the library! Huh?
Any advice? I have not been able to find anything that makes sense on the Web so far.
My Arduino installation is recent (a month old, or less) and the read-the-docs-page doen't seem that old either. Has there been some update I missed?