Commit: c50a8a397d4abd994a9115230279d5fe922b4aa5
Parent: bdfe5fcee3c8a3013d4866ebf573abb1a3e342be
Author: Bastien Nocera <hadess@hadess.net>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2017-10-27 10:58:06
Tree: 496f43c82baea8a96145fe4a4f37308d85c44f28

adapter: Add btd_request_authorization_cable_configured() Add btd_request_authorization_cable_configured() function to allow cable configured devices to ask the user straight away about whether the device should be allowed to connect to the computer. This allows us to ask the user at the time of the USB connection and initial setup, rather than when the first Bluetooth connection is made. The fact that the device might not be connected to the adapter when this event is triggered is mentioned in the Agent API docs.

Diffstat

M doc/agent-api.txt | 5 ++++-
M src/adapter.c | 42 ++++++++++++++++++++++++++++++++++++- - - - - -
M src/adapter.h | 2 ++

3 files changed, 42 insertions(+), 7 deletions(-)

View Full Diff | Patch