From 07ebeadd853277fa7b7fae80abb84c17bf1d303b Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Thu, 4 Oct 2007 15:48:32 +0000 Subject: input: added CreateSecureDevice --- input/input-api.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'input/input-api.txt') diff --git a/input/input-api.txt b/input/input-api.txt index 13da80ba..1d9fec1f 100644 --- a/input/input-api.txt +++ b/input/input-api.txt @@ -16,9 +16,7 @@ Methods array{string} ListDevices() string CreateDevice(string address) - Create an input device object. The HID service - record will be retrieved and the pairing will - be initiated if needed. + Create an input device object. On success it will return the path of the newly created device object. @@ -28,6 +26,20 @@ Methods array{string} ListDevices() org.bluez.input.ConnectionAttemptFailed org.bluez.input.Failed + string CreateSecureDevice(string address) + + Create an input device object. Pairing will + be initiated if needed(keyboard/combo devices). + + On success it will return the path of the + newly created device object. + + Possible errors: org.bluez.input.AlreadyExists + org.bluez.input.NotSupported + org.bluez.input.ConnectionAttemptFailed + org.bluez.input.AuthenticationFailed + org.bluez.input.Failed + void RemoveDevice(string path) Remove the input device object for a given path. -- cgit