client: Add scan.pattern command
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 20 Feb 2020 00:25:04 +0000 (16:25 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
commitadde6d04ee4c32a85e3d6b662e506d151b6706d4
tree8137734e9201ae3761971161ff38185d30eedf02
parent331e82b90f5646925d014bdc5f41906ccd457185
client: Add scan.pattern command

This uses the new Pattern filter:

[bluetooth]# scan.pattern Living
[bluetooth]# scan on
SetDiscoveryFilter success
Discovery started
[CHG] Controller XX:XX:XX:XX:XX:XX Discovering: yes
[NEW] Device XX:XX:XX:XX:XX:XX Living Room TV

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/main.c