Skip to content

My ESP8266 connects to wifi without specifiying any SSID and password! #2843

@jumpjack

Description

@jumpjack

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions