diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-26 19:00:53 +0200 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-26 19:00:53 +0200 | 
| commit | d6ae1c3f777832f8e32702f81fe64e33a1396928 (patch) | |
| tree | 159a1e59f3929c9d795dbd1f3edd84d9dccba048 /doc/serial-api.txt | |
| parent | b8e5fea8d31fbcd3d1c044385f8217dbf39892bb (diff) | |
| parent | 3382af9114a9b2e657c7ddd0a5511edda6a37a90 (diff) | |
Import bluez-utils-3.36 revision history
Diffstat (limited to 'doc/serial-api.txt')
| -rw-r--r-- | doc/serial-api.txt | 37 | 
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/serial-api.txt b/doc/serial-api.txt new file mode 100644 index 00000000..21c4f220 --- /dev/null +++ b/doc/serial-api.txt @@ -0,0 +1,37 @@ +BlueZ D-Bus Serial API description +********************************** + +Copyright (C) 2004-2008  Marcel Holtmann <marcel@holtmann.org> + + +Serial hierarchy +================ + +Service		org.bluez +Interface	org.bluez.Serial +Object path	/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX + +Methods		string Connect(string uuid) + +			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. + +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.InProgress +					 org.bluez.Error.ConnectionAttemptFailed +					 org.bluez.Error.NotSupported + +		void Disconnect(string device) + +			Disconnect a RFCOMM TTY device that has been +			created by Connect method. + +			To abort a connection attempt in case of errors or +			timeouts in the client it is fine to call this method. + +			In that case the UUID of the Connect method should +			be suplied instead of the TTY device. + +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.DoesNotExist  | 
