Hey All,
I'm currently trying to use the BCT v1.5.3 to validate the avahi mdns implementation. This is not so much to validate the avahi implementation but to actually understand how the BCT works.
My setup is the following:
the testing machine, where the BCT runs, is a 13-inch MacBook Pro 2019
the DUT (Device Under test) where avahi runs is a Linux machine (arch) and avahi runs version 0.8
I've tried several connection between the two:
they have been connected point-to-point by a single network cable and the IPs have been set statically
they have been connected via a router (that's not connected to the interned) both by cable and with IPs statically set
connected via a router where the BCT computer is connected via cable and the DUT is connected via WIFI.
My requirement is to run only the MDNS tests so the command I'm issuing on the BCT side is:
sudo ./BounjourConformanceTest -M -I en4 -DD -V -Aip None -Amac None
On the DUT side I start avahi as a daemon:
sudo avahi-daemon
And after that I also publish a service. I've done several tries but one that I think should be working is:
sudo avahi-publish -s "My HAP Service" _hap._tcp 3213 []
I can see the three packets that make up the probing packets spaced out at 250ms each on wireshark both on the DUT and on the BCT device and the BCT prints:
recv_packet 01997: received packet (96 bytes)
recv_packet 01997: received packet (96 bytes)
recv_packet 01997: received packet (96 bytes)
But the tests doesn't seem to finish correctly.
What am I doing wrong? Is my configuration incorrect/incomplete? Do I need to advertise a certain service?
Thanks for the response in advance.