summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-10 13:23:32 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-10 13:23:32 +0000
commit8ee70afdcabbe9a105869a1b488a7c59fab4cc5c (patch)
tree0eb77d7acbf616740244bddbd676c0ddabadbd71
parent467fa007838f66e34b6c869f8c79a759d1cc41b2 (diff)
serial API: updated possible errors
-rw-r--r--serial/serial-api.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/serial/serial-api.txt b/serial/serial-api.txt
index 9b1c67a3..bff9248c 100644
--- a/serial/serial-api.txt
+++ b/serial/serial-api.txt
@@ -36,15 +36,27 @@ Methods string CreatePort(string address, string pattern) [experimental]
remote device and then creates a RFCOMM TTY
device for it. The RFCOMM TTY device is returned.
+ Possible errors:org.bluez.serial.Error.InvalidArguments
+ org.bluez.serial.Error.ConnectionInProgress
+ org.bluez.serial.Error.NotSupported
+ org.bluez.serial.Error.ConnectionAttemptFailed
+
void CancelConnectService(string address, string pattern)
Cancel a previous ConnectService method call.
+ Possible errors:org.bluez.serial.Error.InvalidArguments
+ org.bluez.serial.Error.ConnectionNotInProgress
+
void DisconnectService(string device)
Disconnect a RFCOMM TTY device that has been
created via the ConnectService method.
+ Possible errors:org.bluez.serial.Error.InvalidArguments
+ org.bluez.serial.Error.NotAuthorized
+ org.bluez.serial.Error.Failed
+
Signals void PortCreated(string path) [experimental]
void PortRemoved(string path) [experimental]