mdns on ESP32

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
ttmetro
Posts: 104
Joined: Mon Jul 31, 2017 12:44 am

mdns on ESP32

Post by ttmetro » Mon Oct 23, 2017 9:29 pm

Apparently the ESP32 IDF supports mdns: https://github.com/nkolban/esp32-snippe ... cpp?utf8=✓

Is is possible to call this from Micropython, specifically MicroPython_ESP32_psRAM_LoBo? Am I correct that "all" that's required is a wifi connection, followed by the C-statements

Code: Select all

#include <WiFi.h>
mdns->setHostname("hostname");
mdns->setInstance("informative description");
mdns->serviceAdd("_test", "_tcp", 80);
Bernhard Boser

Post Reply