Commit: ddfe9fccbfc4d69aaede30628e393ac8c51e3a98
Parent: 32a92a9b5a6647dcc05b6c606580e454d1ed608e
Author: Scott James Remnant <scott@netsplit.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-04-12 14:09:27
Tree: 1b174e2e61118b85d3735c0563cac44e3b3c8785

Add AUTH_TYPE_NOTIFY_PASSKEY to device_request_authentication This new authentication type accepts a pincode and calls the DisplayPinCode agent method, a fallback is provided so that if the method is not implemented the older RequestPinCode method is used instead. Due to this fallback, the agent_pincode_cb is used and calling functions should send the pincode passed to the callback to the adapter, which may differ from that generated.

Diffstat

M src/device.c | 59 ++++++++++++++++++++++++++++++++++++++++- -
M src/device.h | 1 +

2 files changed, 58 insertions(+), 2 deletions(-)

View Full Diff | Patch