diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2007-05-08 17:59:19 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2007-05-08 17:59:19 +0000 | 
| commit | c80c810165dd8274681f4b22312b9c3c9654fcdb (patch) | |
| tree | ef9723fbc9dfe08c4c3d64310daf2b7552057cf1 | |
| parent | 8287b254023916e0fbe278895661aa22b789edba (diff) | |
Update API description
| -rw-r--r-- | serial/serial-api.txt | 19 | 
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)  ======================================= | 
