1 BlueZ D-Bus Adapter API description
2 ***********************************
4 Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
5 Copyright (C) 2005-2006 Johan Hedberg <johan.hedberg@nokia.com>
6 Copyright (C) 2005-2006 Claudio Takahasi <claudio.takahasi@indt.org.br>
7 Copyright (C) 2006-2007 Luiz von Dentz <luiz.dentz@indt.org.br>
14 Interface org.bluez.Service
15 Object path [variable prefix]/{hci0,hci1,...}
17 Methods uint32 AddRecord(string record)
19 Adds a new service record from the XML description
20 and returns the assigned record handle.
22 Possible errors: org.bluez.Error.InvalidArguments
23 org.bluez.Error.Failed
25 void UpdateRecord(uint32 handle, string record)
27 Updates a given service record provided in the
30 Possible errors: org.bluez.Error.InvalidArguments
31 org.bluez.Error.NotAvailable
32 org.bluez.Error.Failed
34 void RemoveRecord(uint32 handle)
36 Remove a service record identified by its handle.
38 It is only possible to remove service records that
39 where added by the current connection.
41 Possible errors: org.bluez.Error.InvalidArguments
42 org.bluez.Error.NotAuthorized
43 org.bluez.Error.DoesNotExist
44 org.bluez.Error.Failed
46 void RequestAuthorization(string address, uint32 handle)
48 Request an authorization for an incoming connection
49 for a specific service record. The service record
50 needs to be registered via AddRecord first.
52 Possible errors: org.bluez.Error.InvalidArguments
53 org.bluez.Error.NotAuthorized
54 org.bluez.Error.DoesNotExist
55 org.bluez.Error.Failed
57 void CancelAuthorization()
59 Possible errors: org.bluez.Error.InvalidArguments
60 org.bluez.Error.NotAuthorized
61 org.bluez.Error.DoesNotExist
62 org.bluez.Error.Failed