client: Add scan.discoverable command

System Internals / BlueZ - Luiz Augusto von Dentz [intel.com] - 1 August 2018 11:55 EDT

This adds discoverable command to scan menu which can be used to set if adapter should become discoverable while scanning:

[bluetooth]# scan.discoverable on [bluetooth]# scan on SetDiscoveryFilter success [CHG] Controller XX:XX:XX:XX:XX:XX Discoverable: yes Discovery started [CHG] Controller XX:XX:XX:XX:XX:XX Discovering: yes [bluetooth]# scan off Discovery stopped [CHG] Controller XX:XX:XX:XX:XX:XX Discoverable: no

170ff3b81 client: Add scan.discoverable command
client/main.c | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Upstream: git.kernel.org


  • Share