I'm just wondering if there are any means of service discovery built into the nanoframework?
I am mainly interested in mDNS or unicast DNS service discovery. Think Apple Bonjour/Avahi.
I noticed Espressif has some arduino examples around mDNS.
It would make sense as a separate deployment use case when you don't want to connect to a hub in the cloud but instead have the hub (MQTT server) running on the local network and need to discover it.
Many thanks!
Welcome Cristian!
On an
ESP32you can includemulticast DNSandDNS-Service Discoverylike that:In order to actually discover the
ESP32and it's services you need to make sure that the machine you are working on supportsmDNSandDNS-SD.Note:
mDNSjust "resolves" the name of theESPto it's IP. You need to set-up a webserver on it to actually DO something (like provide theDNS-SD-promised website or such)