mbox series

[Bluez,v4,0/6] Support advertising monitor add pattern with RSSI opcode

Message ID 20210115115036.3973761-1-apusaka@google.com
Headers show
Series Support advertising monitor add pattern with RSSI opcode | expand

Message

Archie Pusaka Jan. 15, 2021, 11:50 a.m. UTC
From: Archie Pusaka <apusaka@chromium.org>

Hi linux-bluetooth,

This series of patches adds a new MGMT command for adding a monitor
with RSSI parameter. Changes are focused on passing parameters to
the kernel via btmgmt and bluetoothctl.

PTAL and thanks for your feedback!
Archie

Changes in v4:
* split the add-or-pattern-rssi command
* update doc

Changes in v3:
* split the struct RSSIThresholdsAndTimers

Changes in v2:
* Remove trailing period and fix order of mgmt parameter

Archie Pusaka (6):
  lib/mgmt: Adding Add Adv Patterns Monitor RSSI opcode
  doc/advmon-api: Introduce sampling period property
  src/adv_monitor: add monitor with rssi support for mgmt
  btmgmt: advmon add rssi support
  bluetoothctl: advmon rssi support for mgmt
  monitor: Decode add advmon with RSSI parameter

 client/adv_monitor.c              | 258 +++++++++++++++++++----------
 client/adv_monitor.h              |  11 +-
 client/main.c                     |  72 ++++----
 doc/advertisement-monitor-api.txt |  78 ++++++---
 lib/mgmt.h                        |  15 ++
 monitor/packet.c                  |  43 ++++-
 src/adv_monitor.c                 | 267 +++++++++++++++++++-----------
 tools/btmgmt.c                    | 160 +++++++++++++++---
 8 files changed, 625 insertions(+), 279 deletions(-)