Skip to content

WiFiMulti does not work #1330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
smacyas opened this issue Apr 18, 2018 · 3 comments
Closed

WiFiMulti does not work #1330

smacyas opened this issue Apr 18, 2018 · 3 comments

Comments

@smacyas
Copy link

smacyas commented Apr 18, 2018

Example from lib does not work:
#include <WiFi.h>
#include <WiFiMulti.h>

WiFiMulti wifiMulti;

void setup()
{
Serial.begin(115200);
delay(10);

wifiMulti.addAP("ssid_from_AP_1", "your_password_for_AP_1");
wifiMulti.addAP("ssid_from_AP_2", "your_password_for_AP_2");
wifiMulti.addAP("domoton1", "nevotondomoton");

Serial.println("Connecting Wifi...");
if(wifiMulti.run() == WL_CONNECTED) {
    Serial.println("");
    Serial.println("WiFi connected");
    Serial.println("IP address: ");
    Serial.println(WiFi.localIP());
}

}

void loop()
{
if(wifiMulti.run() != WL_CONNECTED) {
Serial.println("WiFi not connected!");
delay(1000);
}
}

E (302) wifi: esp_wifi_scan_start 967 wifi not start
WiFi not connected!
WiFi not connected!
WiFi not connected!

@sticilface
Copy link
Contributor

Try this pull and see if it works.
#1322

@smacyas
Copy link
Author

smacyas commented Apr 19, 2018

Yes, it works, thanks!

@smacyas smacyas closed this as completed Apr 19, 2018
@sserena
Copy link

sserena commented Apr 25, 2018

Hi

I got the same error, but in this line:

int networksLength = WiFi.scanNetworks();

Specifically, it says this:

E (132) wifi: esp_wifi_scan_start 967 wifi not start

I just pulled, but no change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants