Repository navigation
Support multi interface - #7
Conversation
mfucci
commented
Jul 11, 2022
- Add support for multiple interface in the MDNS server
- Refactor MDNS server to isolate low level UDP APIs
- Deprecate Singleton class, so multiple Matter servers can be launched simultaneously
|
This fixes the issue of me having to specify IP and now I am able to pair using Android CHIPTool or "chip-tool pairing ethernet 222 20202021 3840 192.168.1.28 5540" command where I specify the IP of the node-matter device. I assumed this fix would also make the device discoverable (able to pair using "chip-tool pairing onnetwork 222 20202021") so that I don't have to specify the IP of the device. I tried but it didn't work because MdnsServer doesn't have any records to serve until I connect to it. Any thoughts? |
|
Seems like when I try "chip-tool pairing onnetwork 222 20202021", I see following MDNS requests but no responses: 10:05:36.117133 IP 192.168.1.27.5353 > 224.0.0.251.5353: 0 ANY (QM)? _matterc._udp.local. (37) |
|
Yes, I did not reverse engineered and implemented this part of the protocol yet.
Maybe we can close your original bug and you can file a new one for this? |
|
Sure - thanks
|
|
This seems to work. We can close this. Will open up another issue for discovering new devices on the network... |
|
Re-open for merge |