mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 21:30:24 +00:00
48b129e74b
This commit updates `Dns::ServiceDiscovery::Server` to add support for browsing a service subtype. In particular, it updates the code which breaks a DNS name into its components such that it can correctly parse and accept a service subtype name. It also updates how the service name compression is done to handle the subtype names. This commit also updates `Dns::Client` to remove the extra check of service name (which is already verified) when trying to find a PTR record for a given service instance name. This change enables browse for service subtype (parsing the browse response). This commit also updates and enhances the `test_dnssd.py` script adding test-cases for browsing for service subtype.