Arduino: Implement DNS-SD to be seen as a bonjour service

Created on 21 Jun 2015  路  7Comments  路  Source: esp8266/Arduino

As per https://github.com/esp8266/Arduino/issues/7#issuecomment-89640838 "to be seen as a bonjour service we need to support DNS-SD, not just bare mDNS. DNS-SD may be implemented on top of mDNS".

Most helpful comment

This works for me. Can add it under the similar line for the OTA service, in the OTA sketch.

    MDNS.addService("http", "tcp", 80);

All 7 comments

This is necessary for OTA integration into the IDE by the way.

See https://github.com/TrippyLighting/EthernetBonjour

Bonjour (ZeroConf) Library for Arduino which does mDNS (registering services) and DNS-SD (service discovery). According to the description, the newest revised code replaces all direct hardware calls to the W5100 chip with calls to EthernetUDP methods. This will provide much better adaptability to different Ethernet hardware.

Also see http://gkaindl.com/software/arduino-ethernet/bonjour

Someone seems to have done it at https://github.com/me-no-dev/Arduino/commit/1d51c35db553318a6bc0ef0b432ae84a7e7251eb although it did not work for me testing with the supplied test sketch and OS X 10.9. Safari doesn't show esp8266 in the Bonjour bookmarks. Also, Bonjour Browser doesn't show an entry. But I can successfully open http://esp8266.local. now.

with the patch above, Zeroconf Browser on Android could finally see my esp8266 device!

Hi, can someone help me? how can i make the Zeroconf Browser see my esp8266?

This works for me. Can add it under the similar line for the OTA service, in the OTA sketch.

    MDNS.addService("http", "tcp", 80);

Thanks a lot... really thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mark-hahn picture mark-hahn  路  3Comments

rudydevolder picture rudydevolder  路  3Comments

Geend picture Geend  路  3Comments

SmartSouth picture SmartSouth  路  3Comments

Chagui- picture Chagui-  路  3Comments