From 772f25e26e1d1c5982855eefd59b51c7e4aaab95 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 14 May 2007 12:22:52 +0000 Subject: Add GetAdapter() method to retrieve the source address --- input/input-api.txt | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'input/input-api.txt') diff --git a/input/input-api.txt b/input/input-api.txt index 60066eb9..13da80ba 100644 --- a/input/input-api.txt +++ b/input/input-api.txt @@ -7,7 +7,6 @@ Copyright (C) 2006-2007 Marcel Holtmann Input Manager hierarchy ======================= -Service org.bluez.input Interface org.bluez.input.Manager Object path /org/bluez/input @@ -24,14 +23,14 @@ Methods array{string} ListDevices() 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.Failed + Possible errors: org.bluez.input.AlreadyExists + org.bluez.input.NotSupported + org.bluez.input.ConnectionAttemptFailed + org.bluez.input.Failed void RemoveDevice(string path) - Remove the input device object for a given path. + Remove the input device object for a given path. Possible errors:org.bluez.input.DoesNotExist org.bluez.input.Failed @@ -44,11 +43,16 @@ Signals void DeviceCreated(string path) Input Device hierarchy ====================== -Service org.bluez.input Interface org.bluez.input.Device Object path /org/bluez/input/{keyboard*|mouse*|...} -Methods string GetAddress() +Methods string GetAdapter() + + Returns the adapter address. + + Example: "00:11:22:33:44:55" + + string GetAddress() Returns the device address. @@ -71,18 +75,18 @@ Methods string GetAddress() Returns the connection status. void Connect() - + Connect to the input device. - Possible errors:org.bluez.input.AlreadyConnected - org.bluez.input.ConnectionAttemptFailed + Possible errors: org.bluez.input.AlreadyConnected + org.bluez.input.ConnectionAttemptFailed void Disconnect() Disconnect from the input device. - Possible errors:org.bluez.input.Failed + Possible errors: org.bluez.input.Failed -Signals void Connected() +Signals void Connected() void Disconnected() -- cgit