From adca4bf24f4379f4ad0a4775c9cc7f210d7542ac Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 8 Mar 2006 14:11:41 +0000 Subject: Small updates to the RFCOMM API and possible errors --- hcid/dbus-api.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- cgit