Search found 1 match

by Krishan T S
Tue Jan 18, 2022 7:12 am
Forum: ESP32 Arduino
Topic: WiFi- Unable to setup MDNS on SoftAP for ESP32
Replies: 3
Views: 11390

WiFi- Unable to setup MDNS on SoftAP for ESP32

I am trying to setup DNS for ESP32 in Access point mode (Using SoftAP), It is not working. My code is

const char* host = "example";
void setupWifi()
{
WiFi.mode(WIFI_AP);
WiFi.softAP("SSID","Password");
Serial.println(WiFi.softAPIP());
}
setupWifi();
MDNS.begin(host);
if (!MDNS.begin(host ...

Go to advanced search