Commit: e313defde920a4875ea461af26821ace07438cbb
Parent: e432fc73b2a6fdc933169317b63d2b8fc55c2d4b
Author: Alain Michaud <alainm@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-11-02 19:54:05
Tree: 9c3eaa2abbeb9ceebc2fd5b54ae11f6cf0f2435c

adv_monitor: Issue Remove Adv Monitor mgmt call This calls Remove Adv Monitor command to kernel and handles the callback during a monitor removal initiated by a D-Bus client. This also registers callback for getting notified on Adv Monitor Removed event, so that the Adv monitor manager can invalidate the monitor by calling Release() on its proxy. The following tests were performed. - In bluetoothctl console, add a monitor and remove the monitor by its index and verify the removal in both the output of btmgmt and syslog. - In bluetoothctl console, add a monitor, remove the monitor via btmgmt and verify the removal in syslog.

Diffstat

M src/adv_monitor.c | 132 ++++++++++++++++++++++++++++++++++++++++- - - - - - - -

1 files changed, 124 insertions(+), 8 deletions(-)

View Full Diff | Patch