summaryrefslogtreecommitdiffstats
path: root/doc/adapter-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-03 13:55:38 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-03 13:55:38 +0000
commitf5a4741b96908bce4cf7e4c5d37e2f33f2922434 (patch)
treeb9739ad17b3a76d34adfdbecead6b2f4ea50317a /doc/adapter-api.txt
parentadeca3224d149bc7cb5ebc8f4f205be78ff0b5f9 (diff)
Add capability parameter for the agent registration
Diffstat (limited to 'doc/adapter-api.txt')
-rw-r--r--doc/adapter-api.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index 9ae43b39..55b36621 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -135,7 +135,7 @@ Methods dict GetProperties()
Possible errors: org.bluez.Error.InvalidArguments
org.bluez.Error.Failed
- void RegisterAgent(object agent)
+ void RegisterAgent(object agent, string capability)
This registers the adapter wide agent.
@@ -145,7 +145,14 @@ Methods dict GetProperties()
If an application disconnects from the bus all
of its registered agents will be removed.
- Possible errors: org.bluez.Error.AlreadyExists
+ The capability parameter can have the values
+ "DisplayOnly", "DisplayYesNo", "KeyboardOnly" and
+ "NoInputNoOutput" which reflects the input and output
+ capabilities of the agent. If an empty string is
+ used it will fallback to "DisplayYesNo".
+
+ Possible errors: org.bluez.Error.InvalidArguments
+ org.bluez.Error.AlreadyExists
void UnregisterAgent(object agent)