1ORG.BLUEZ.PROFILEMANAGER(5)Linux System AdministratioOnRG.BLUEZ.PROFILEMANAGER(5)
2
3
4
6 org.bluez.ProfileManager - BlueZ D-Bus ProfileManager API documentation
7
9 Service
10 org.bluez
11
12 Interface
13 org.bluez.ProfileManager1
14
15 Object path
16 /org/bluez
17
18 Methods
19 void RegisterProfile(object profile, string uuid, dict options)
20 Registers profile agent.
21
22 The object path defines the path of the profile that will be called
23 when there is a connection and must implement org.bluez.Profile(5)
24 interface.
25
26 If an application disconnects from the bus all its registered pro‐
27 files will be removed.
28
29 Possible uuid values:
30
31 "0000111f-0000-1000-8000-00805f9b34fb"
32 HFP AG, default profile Version is 1.7, profile Features is
33 0b001001 and RFCOMM channel is 13. Authentication is re‐
34 quired.
35
36 "0000111e-0000-1000-8000-00805f9b34fb"
37 HFP HS, default profile Version is 1.7, profile Features is
38 0b000000 and RFCOMM channel is 7. Authentication is required.
39
40 "00001112-0000-1000-8000-00805f9b34fb"
41 HSP AG, default profile Version is 1.2, RFCOMM channel is 12
42 and Authentication is required. Does not support any Fea‐
43 tures, option is ignored.
44
45 "00001108-0000-1000-8000-00805f9b34fb"
46 HSP HS, default profile Version is 1.2, profile Features is
47 0b0 and RFCOMM channel is 6. Authentication is required.
48 Features is one bit value, specify capability of Remote Audio
49 Volume Control (by default turned off).
50
51 "<vendor UUID>"
52 Vendor defined UUID, no defaults, must set options.
53
54 Possible options values:
55
56 string Name
57 Human readable name for the profile
58
59 string Service
60 The primary service class UUID (if different from the actual
61 profile UUID).
62
63 string Role
64 For asymmetric profiles that do not have UUIDs available to
65 uniquely identify each side this parameter allows specifying
66 the precise local role.
67
68 Possible values:
69
70 "client"
71
72 "server"
73
74 uint16 Channel
75 RFCOMM channel number that is used for client and server
76 UUIDs.
77
78 If applicable it will be used in the SDP record as well.
79
80 uint16 PSM
81 PSM number that is used for client and server UUIDs.
82
83 If applicable it will be used in the SDP record as well.
84
85 boolean RequireAuthentication
86 Pairing is required before connections will be established.
87 No devices will be connected if not paired.
88
89 boolean RequireAuthorization
90 Request authorization before any connection will be estab‐
91 lished.
92
93 boolean AutoConnect
94 In case of a client UUID this will force connection of the
95 RFCOMM or L2CAP channels when a remote device is connected.
96
97 string ServiceRecord
98 Provide a manual SDP record.
99
100 uint16 Version
101 Profile version (for SDP record)
102
103 uint16 Features
104 Profile features (for SDP record)
105
106 Possible errors:
107
108 org.bluez.Error.InvalidArguments
109
110 org.bluez.Error.AlreadyExists
111
112 void UnregisterProfile(object profile)
113 Unregisters profile object that has been previously registered using
114 RegisterProfile.
115
116 The object path parameter must match the same value that has been
117 used on registration.
118
119 Possible errors:
120
121 org.bluez.Error.DoesNotExist
122
123
124
125
126BlueZ October 2023 ORG.BLUEZ.PROFILEMANAGER(5)