Advertizing through mDNS

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Advertizing through mDNS

Postby kolban » Sun Apr 02, 2017 6:17 pm

Yes sir ... and thanks to some chats on the IRC channel ... life is starting to show through avah-browser but still nothing through Bonjour.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

MalteJ
Posts: 62
Joined: Wed Sep 21, 2016 10:26 pm

Re: Advertizing through mDNS

Postby MalteJ » Mon Apr 03, 2017 10:11 am

Hi Neil,

can you share the code on Github or something similar?
Which commands/applications do you use for discovery?

Best,
Malte

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Advertizing through mDNS

Postby kolban » Mon Apr 03, 2017 1:53 pm

Hi Malte,
After a long period of tinkering, we got something working. A chap on IRC shared a working snippet he had been using and the light bulb went on ... but I *DO* appreciate you offer to look at code. The end result, for those that may follow in the future (and I am NOT saying this is correct ... but it does appear to work) can be found here:

https://github.com/nkolban/esp32-snippe ... k_mdns.cpp

The code is C++ but the C APIs can be seen through the order of calls and parameters.

Neil
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 182 guests