summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-08 17:59:19 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-05-08 17:59:19 +0000
commitc80c810165dd8274681f4b22312b9c3c9654fcdb (patch)
treeef9723fbc9dfe08c4c3d64310daf2b7552057cf1
parent8287b254023916e0fbe278895661aa22b789edba (diff)
Update API description
-rw-r--r--serial/serial-api.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/serial/serial-api.txt b/serial/serial-api.txt
index 9ae947db..f3c39e22 100644
--- a/serial/serial-api.txt
+++ b/serial/serial-api.txt
@@ -28,12 +28,31 @@ Methods string CreatePort(string address, string pattern)
Returns an array of available serial port paths.
+ string ConnectService(string address, string pattern)
+
+ Connects to a specific RFCOMM based service on a
+ remote device and then creates a RFCOMM TTY
+ device for it. The RFCOMM TTY device is returned.
+
+ void CancelConnectService(string address, string pattern)
+
+ Cancel a previous ConnectService method call.
+
+ void DisconnectService(string device)
+
+ Disconnect a RFCOMM TTY device that has been
+ created via the ConnectService method.
+
Signals
void PortCreated(string path)
void PortRemoved(string path)
+ void ServiceConnected(string device, string adddress, string pattern)
+
+ void ServiceDisconnected(string device)
+
Port hierarchy (experimental)
=======================================