Page 2 of 2

Re: Advertizing through mDNS

Posted: Sun Apr 02, 2017 6:17 pm
by kolban
Yes sir ... and thanks to some chats on the IRC channel ... life is starting to show through avah-browser but still nothing through Bonjour.

Re: Advertizing through mDNS

Posted: Mon Apr 03, 2017 10:11 am
by MalteJ
Hi Neil,

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

Best,
Malte

Re: Advertizing through mDNS

Posted: Mon Apr 03, 2017 1:53 pm
by kolban
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