openthread / ot-commissioner

OpenThread Commissioner, a Thread commissioner for joining new Thread devices and managing Thread networks.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
49 stars 36 forks source link

[cli] update `br scan` to allow network interface selection for mDNS binding #260

Closed ZhangLe2016 closed 4 months ago

ZhangLe2016 commented 4 months ago

Within the OTBR practice application, the BR host will have several interfaces. When users want to discover the border router using mDNS, they will need to choose the specific interface.

This change introduces a new option for the CLI command br scan. User can now specify a network interface using the syntax `br scan --netif . The chosen interface will be used for mDNS binding through socket options.