From e35dd0c0246236371269b79cc28b1a23f4999560 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 3 Feb 2009 12:15:07 -0800 Subject: Add support for HCI_Simple_Pairing_Complete event When we are the acceptors of a pairing request and we have used the Agent.DisplayPasskey we need to use the Simple Pairing Complete HCI event for calling Agent.Cancel. --- src/device.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/device.h') diff --git a/src/device.h b/src/device.h index 6b750a82..19112d20 100644 --- a/src/device.h +++ b/src/device.h @@ -64,6 +64,7 @@ DBusMessage *device_create_bonding(struct btd_device *device, const char *agent_path, uint8_t capability); void device_remove_bondind(struct btd_device *device, DBusConnection *connection); void device_bonding_complete(struct btd_device *device, uint8_t status); +void device_simple_pairing_complete(struct btd_device *device, uint8_t status); gboolean device_is_bonding(struct btd_device *device, const char *sender); void device_cancel_bonding(struct btd_device *device, uint8_t status); int device_request_authentication(struct btd_device *device, auth_type_t type, -- cgit