summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-03-08 14:11:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-03-08 14:11:41 +0000
commitadca4bf24f4379f4ad0a4775c9cc7f210d7542ac (patch)
tree2ae98b3e8e57399c27cb4977bf37ef460999b59c
parent6a36d0fcf9c819cf5fdcfd7cfc235075639f0d5a (diff)
Small updates to the RFCOMM API and possible errors
-rw-r--r--hcid/dbus-api.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index ca34f2e0..af20e767 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -19,6 +19,12 @@ Errors Failed
Error returned when the argument list is invalid or
out of specification for the method.
+ NotAuthorized
+
+ Error returned when the caller of a method is not
+ authorized. This might happen if a caller tries to
+ terminate a connection that it hasn't created.
+
OutOfMemory
Error returned when a memory allocation via malloc()
@@ -639,6 +645,10 @@ Methods string Connect(string address, string service)
"ftp", "bpp", "bip", "synch",
"dun", "opp", "fax", "spp"
+ void CancelConnect(string address, string service)
+
+ This method cancels a previous Connect method call.
+
string ConnectByChannel(string address, byte channel)
This creates a connection to a remote RFCOMM based
@@ -651,6 +661,11 @@ Methods string Connect(string address, string service)
If the application disconnects from the D-Bus this
connection will be terminated.
+ void CancelConnectByChannel(string address, byte channel)
+
+ This method cancels a previous ConnectByChannel
+ method call.
+
void Disconnect(string device)
This will disconnect a previously connected RFCOMM