summaryrefslogtreecommitdiffstats
path: root/serial/serial-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'serial/serial-api.txt')
-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]