Closed
Description
Platform
- Hardware: [ESP-12]
- Core Version: [V2.5.2 Release]
- Development Env: [Arduino IDE]
- Operating System: [Windows]
Settings in IDE
- Module: [Generic ESP8266 Module]
- Flash Mode: [qio]
- Flash Size: [4MB]
- lwip Variant: [v2 Higher Bandwidth]
- Reset Method: [nodemcu]
- Flash Frequency: [40Mhz]
- CPU Frequency: [80Mhz]
- Upload Using: [OTA|SERIAL]
- Upload Speed: [other] (serial upload only)
Problem Description
WiFi Setup of XIAOMI Mi A2 (Android one) does not find the ESP AP with Versions 2.5.2 and 2.5.1, while other mobile, PC or iPad devices will show ESP SSID. Same applies to latest Git (03.07.2019).
Reverting back to V2.5.0 always fixes this issue.
Tested back and forth multiple times:
ESP is not seen by Mi A2 mobile on any Version above V2.5.0.
Thanks a lot for your help/advice in advance.
Sketch / AP Setup
void setupAP(void) {
Serial.print("WLAN: Starting Access Point... SSID: ");
Serial.println(network.apSSID);
WiFi.persistent(false);
WiFi.disconnect();
WiFi.softAPdisconnect(true);
WiFi.hostname(network.apSSID);
wifi_set_opmode(STATIONAP_MODE);
WiFi.softAPConfig((IPAddress)network.apIP, (IPAddress)network.apIP, (IPAddress)network.wlanNM);
// start AP
Serial.print("WLAN: Starting SoftAP on Channel ");
Serial.print(String(network.apCH,DEC));
if (!WiFi.softAP(network.apSSID, network.apPass, network.apCH, 0, MAX_AP_CONS))
{
// AP setup failed
Serial.println("... failed!");
ESP.restart();
}
else {
// AP setup and running...
Serial.println(" ... started.");
launchWeb(1);
}
}
Metadata
Metadata
Assignees
Labels
No labels