[GH-ISSUE #1517] I only can find ssid in my pc not android or ios #1294

Open
opened 2026-02-28 01:29:27 +03:00 by kerem · 1 comment
Owner

Originally created by @kotran88 on GitHub (Nov 7, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1517

below is basic example that this library provide with.
the problem is....I can find ssid named Auto which I named in window 10 pc
but on android and ios 's setting , I can't find SSID with name Auto.
how can I connect it with my phone?

#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager

#include "soc/soc.h"
#include "soc/rtc_cntl_reg.h"
void setup() {
WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable detector

WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP
// it is a good practice to make sure your code sets wifi mode how you want it.

// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("hahaha");
//WiFiManager, Local intialization. Once its business is done, there is no need to keep it around
WiFiManager wm;

// reset settings - wipe stored credentials for testing
// these are stored by the esp library
//wm.resetSettings();

// Automatically connect using saved credentials,
// if connection fails, it starts an access point with the specified name ( "AutoConnectAP"),
// if empty will auto generate SSID, if password is blank it will be anonymous AP (wm.autoConnect())
// then goes into a blocking loop awaiting configuration and will return success result

bool res;
Serial.println("setup");
// res = wm.autoConnect(); // auto generated AP name from chipid
// res = wm.autoConnect("AutoConnectAP"); // anonymous ap
res = wm.autoConnect("Auto","password"); // password protected ap

if(!res) {
    Serial.println("Failed to connect");
    // ESP.restart();
} 
else {
    //if you get here you have connected to the WiFi    
    Serial.println("connected...yeey :)");
}

}

void loop() {
// put your main code here, to run repeatedly:
}

Originally created by @kotran88 on GitHub (Nov 7, 2022). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1517 below is basic example that this library provide with. the problem is....I can find ssid named Auto which I named in window 10 pc but on android and ios 's setting , I can't find SSID with name Auto. how can I connect it with my phone? #include <WiFiManager.h> // https://github.com/tzapu/WiFiManager #include "soc/soc.h" #include "soc/rtc_cntl_reg.h" void setup() { WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable detector WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP // it is a good practice to make sure your code sets wifi mode how you want it. // put your setup code here, to run once: Serial.begin(115200); Serial.println("hahaha"); //WiFiManager, Local intialization. Once its business is done, there is no need to keep it around WiFiManager wm; // reset settings - wipe stored credentials for testing // these are stored by the esp library //wm.resetSettings(); // Automatically connect using saved credentials, // if connection fails, it starts an access point with the specified name ( "AutoConnectAP"), // if empty will auto generate SSID, if password is blank it will be anonymous AP (wm.autoConnect()) // then goes into a blocking loop awaiting configuration and will return success result bool res; Serial.println("setup"); // res = wm.autoConnect(); // auto generated AP name from chipid // res = wm.autoConnect("AutoConnectAP"); // anonymous ap res = wm.autoConnect("Auto","password"); // password protected ap if(!res) { Serial.println("Failed to connect"); // ESP.restart(); } else { //if you get here you have connected to the WiFi Serial.println("connected...yeey :)"); } } void loop() { // put your main code here, to run repeatedly: }
Author
Owner

@tablatronix commented on GitHub (Nov 8, 2022):

I am assuming you tried a different name etc?

<!-- gh-comment-id:1307618636 --> @tablatronix commented on GitHub (Nov 8, 2022): I am assuming you tried a different name etc?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1294
No description provided.