I'm trying to understand how mDNS works when two devices (CC3200 lanchpads) advertise the same name on the network, and listen at them with a service discovery app.
Basically the two devices are running the same mdns demo application, but one of them both advertises and listen for services.
The unque full name is: "CC3200._uart._tcp.local"
The application that both advertises and listens correctly registers the service (sl_NetAppMDNSRegisterService returns 0), and correctly finds the service from the other device with a different IP address.
As a discovery app, I use "ZeroConf Browser" and "Bonjour Browser" on an Android (Galaxy S-plus version 2.3.6). Both of them correctly find two HTTP Services, with different names (since the MAC address is prepended to @mysimplelink).
But, when applications listen at the _uart._tcp sub domain, "ZeroConf Browser" finds just one service, while "Bonjour Browser" finds two services:
CC3200 and CC3200(2)
but the second one is empty, i.e. no further information can be extracted from it.
I obtain the same behavior with the unique service option flag (bit 0) set either to 0 or 1.
What is the problem?
Thanks