Closed
Description
Basic Infos
- This issue complies with the issue POLICY doc.
- I have read the documentation at readthedocs and the issue is not addressed there.
- I have tested that the issue is present in current master branch (aka latest git).
- I have searched the issue tracker for a similar issue.
- If there is a stack dump, I have decoded it.
- I have filled out all fields below.
Platform
- Hardware: [ESP-12]
- Core Version: [current]
- Development Env: [Arduino IDE]
- Operating System: [Windows]
Problem Description
mDNS not working with WiFi.mode(WIFI_AP_STA) on current git, but working on v2.4.7
MCVE Sketch
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
void setup(void) {
Serial.begin(115200);
WiFi.mode(WIFI_AP_STA);
WiFi.softAP("SETUP777685", "admin678");
MDNS.begin("TestMDNS");
MDNS.addService("http", "tcp", 80);
MDNS.addServiceTxt("http", "tcp", "type", "smartctrl");
MDNS.addServiceTxt("http", "tcp", "id", "777685");
}
void loop(void) {
MDNS.update();
}