Parent: 8f3a62684d251354b0e3a690a57f82aa1ab266eb
Author: Miao-chen Chou <mcchou@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-09-14 22:45:11
Tree: 080a34f05f78026879a6bf396698a64e708bc29d
adv_monitor: Handle D-Bus proxy event of an ADV monitor This adds two handlers, one for adding and one for removing, of D-Bus proxy events. The handler of property changes is set to NULL as intended, since for simplicity no further changes on monitor's properties would affect the ongoing monitoring. The following test steps were performed with bluetoothctl. - After registering the root path, expose two monitors and verify that the proxy added event are received. - Have two monitors added, unexpose the monitors, and verify that the proxy removed events are received for those two monitors. - Have two monitors added, unregister the monitors and verify that the proxy removed events are received for those two monitors.
Diffstat
| M | src/adv_monitor.c | | | 487 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - |
1 files changed, 474 insertions(+), 13 deletions(-)