Is it possible to create a mDNS client on the ESP8266? I want to be able to read information about advertised services like MQTT that are already provided from other devices on the network.
Thanks in advance!
SK
MDNS client
Re: MDNS client
Postby dunk » Sat Feb 06, 2016 7:11 pm
slaff wrote:Is it possible to create a mDNS client on the ESP8266? I want to be able to read information about advertised services like MQTT that are already provided from other devices on the network.
i wrote some Arduino code to do exactly this so i could discover the Mosquitto Brokers on my network without having to configure the ESP8266
here:
https://github.com/mrdunk/esp8266_mdns
it's written in fairly generic C++ style so the section that de-codes the mDNS packets could easily be ported to another language.
hope it helps someone,
dunk.
Who is online
Users browsing this forum: No registered users and 16 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.