-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Description
I modified BasicHttpClient example sketch to suite my needs, but I get strange results: ESP connects to "something" but I don't know to WHAT!
In a first time I left the default SSID and pwd of the source, so I expected no connection to happen... but ESP connected to my wifi network and properly downloaded a file from internet!
Then I completely deleted SSID and pwd:
WiFiMulti.addAP("", "");
Well... it's still working fine!
It connects to my network and downloads file from internet!
I guess the ESP is using ssid and pwd I previously specified in other experimental sketches... but I think it is not an acceptable way to work!
How can I get a list of previously accessed APs?
How can I get the name of currently connected network?
How can I get a list of WifiMulti() available methods ans properties?
But, above all: how can I trigger an error if I specify wrong password or non-existing SSID?