From 8ee70afdcabbe9a105869a1b488a7c59fab4cc5c Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Thu, 10 May 2007 13:23:32 +0000 Subject: serial API: updated possible errors --- serial/serial-api.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'serial') 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] -- cgit