Commit: 0633cf2a0f0fc58e73efc2ed354c20fde463b20a
Parent: 2dea08193abb7f5a4342ca25faea53526e93a289
Author: Miao-chen Chou <mcchou@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-09-14 22:38:10
Tree: 78be2cc6d71fe0b5e5413f6883c4bb6468219421

adv_monitor: Implement RegisterMonitor() This implements the RegisterMonitor() method handler of ADV monitor manager interface. The following tests were performed. - Issue a RegisterMonitor() call with a valid path and expect a success as return. - Issue a RegisterMonitor() call with an invalid path and expect org.bluez.Error.InvalidArguments as return. - Issue two Registermonitor() calls with the same path and expect org.bluez.Error.AlreadyExists. - Verify the values of the registered paths with logging. - Verify D-Bus disconnection callback was triggered when the client detach from D-Bus.

Diffstat

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

1 files changed, 164 insertions(+), 1 deletions(-)

View Full Diff | Patch