~ubuntu-branches/ubuntu/wily/bluez/wily

« back to all changes in this revision

Viewing changes to doc/manager-api.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2008-10-07 12:10:29 UTC
  • Revision ID: james.westby@ubuntu.com-20081007121029-4gup4fmmh2vfo5nh
Tags: upstream-4.12
ImportĀ upstreamĀ versionĀ 4.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
BlueZ D-Bus Manager API description
 
2
***********************************
 
3
 
 
4
Copyright (C) 2004-2008  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>
 
8
 
 
9
 
 
10
Manager hierarchy
 
11
=================
 
12
 
 
13
Service         org.bluez
 
14
Interface       org.bluez.Manager
 
15
Object path     /
 
16
 
 
17
Methods         object DefaultAdapter()
 
18
 
 
19
                        Returns object path for the default adapter.
 
20
 
 
21
                        Possible errors: org.bluez.Error.InvalidArguments
 
22
                                         org.bluez.Error.NoSuchAdapter
 
23
 
 
24
                object FindAdapter(string pattern)
 
25
 
 
26
                        Returns object path for the specified adapter. Valid
 
27
                        patterns are "hci0" or "00:11:22:33:44:55".
 
28
 
 
29
                        Possible errors: org.bluez.Error.InvalidArguments
 
30
                                         org.bluez.Error.NoSuchAdapter
 
31
 
 
32
                array{object} ListAdapters()
 
33
 
 
34
                        Returns list of adapter object paths under /org/bluez
 
35
 
 
36
                        Possible errors: org.bluez.Error.InvalidArguments
 
37
                                         org.bluez.Error.Failed
 
38
                                         org.bluez.Error.OutOfMemory
 
39
 
 
40
Signals         AdapterAdded(object adapter)
 
41
 
 
42
                        Parameter is object path of added adapter.
 
43
 
 
44
                AdapterRemoved(object adapter)
 
45
 
 
46
                        Parameter is object path of removed adapter.
 
47
 
 
48
                DefaultAdapterChanged(object adapter)
 
49
 
 
50
                        Parameter is object path of the new default adapter,
 
51
                        or an empty string if there is no available adapters.
 
52
 
 
53
                        In case all adapters are removed this signal will not
 
54
                        be emitted. The AdapterRemoved signal has to be used
 
55
                        to detect that no default adapter is selected or
 
56
                        available anymore.