Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go back to browsing by discriminator, not by commissioning mode.
This reverts commit a689c84. Now that we always register a new instance name when opening a new commissioning window the problem PR project-chip#17356 was trying to work around no longer applies. On the other hand, the new setup introduced a new problem: if there are multiple things advertising the _CM subtype (i.e. multiple things in comissioning mode at once), then we might find the first several (however much fits in a DNS packet) and then platform mdns will stop delivering results, per project-chip#19194 (which is about Darwin, but other platforms have similar issues). If we browse by discrimnator instead, the chance of multiple results is much lower, and hence the chance of finding the thing we care about is much higher.
- Loading branch information