diff options
author | Howard Chung <howardchung@google.com> | 2020-09-16 15:16:50 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-09-16 09:38:03 -0700 |
commit | 566db0ed69d1cabea83e76f843051b9eb6fb0777 (patch) | |
tree | 8c6ad9c32c380620edb18965f07e151a0fe78b49 /android/tester-pan.c | |
parent | 664e10ff7ebf8dd9b132bd0a5c68f47ddbf561c7 (diff) | |
download | bluez-566db0ed69d1cabea83e76f843051b9eb6fb0777.tar.gz |
client: Implement more interfaces of ADV monitor in bluetoothctl
This patch creates a submenu in bluetoothctl and implements several
commands.
new commands:
[bluetooth]# menu monitor
[bluetooth]# add-or-pattern 1 2 ab0011
Advertisement Monitor 0 added
[bluetooth]# add-or-pattern-rssi -80, ,5 1 2 aa 3 4 ff
Advertisement Monitor 1 added
[bluetooth]# get-pattern all
Advertisement Monitor 0
path: /org/bluez/adv_monitor_app/0
type: or_patterns
pattern 1:
start position: 1
AD data type: 2
content: ab0011
Advertisement Monitor 1
path: /org/bluez/adv_monitor_app/1
type: or_patterns
rssi:
high threshold: -50
high threshold timer: 5
low threshold: -80
low threshold timer: 5
pattern 1:
start position: 1
AD data type: 2
content: aa
pattern 2:
start position: 3
AD data type: 4
content: ff
[bluetooth]# get-supported-info
Supported Features:
Supported Moniter Types: or_patterns
[bluetooth]# remove-pattern 0
Monitor 0 deleted
Diffstat (limited to 'android/tester-pan.c')
0 files changed, 0 insertions, 0 deletions