summaryrefslogtreecommitdiffstats
path: root/doc/serial-api.txt
blob: 7be4277d8a2cbf27f49db2206e6eae9e7eebf76d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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.

			Possible errors: org.bluez.Error.InvalidArguments
					 org.bluez.Error.DoesNotExist