From c80c810165dd8274681f4b22312b9c3c9654fcdb Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 8 May 2007 17:59:19 +0000 Subject: Update API description --- serial/serial-api.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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) ======================================= -- cgit