2020-07-24 05:42:15

by Yun-hao Chung

[permalink] [raw]
Subject: Advertisement monitor interface in bluetoothctl plan

Hi linux-bluetooth,

We plan to implement the advertisement monitor interface in
bluetoothctl, here is the plan.

All the commands will be put under a new sub menu 'advertisement monitor'.
New commands:
add-pattern-monitor <monitor_id> <type_of_monitor> <list-of-patterns>
<high-RSSI> <high-RSSI-timeout> <low-RSSI> <low-RSSI-timeout>
//where the structure of a pattern: (start_position,
AD_data_type, content)
remove-pattern-monitor <monitor_id>
list-pattern-monitors //list all monitors with
their id and attributes
get-supported-feature //get SupportedMonitorTypes and
SupportedFeatures in
AdvertisementMonitorManager

What do you think about this plan?

Thanks!
Howard