1ORG.BLUEZ.ADMINPOLICYSET(5)Linux System AdministratioOnRG.BLUEZ.ADMINPOLICYSET(5)
2
3
4
6 org.bluez.AdminPolicySet - BlueZ D-Bus AdminPolicySet API documentation
7
9 This API provides methods to control the behavior of bluetoothd(8) as
10 an administrator.
11
12 Interface AdminPolicySet1 provides methods to set policies. Once the
13 policy is set successfully, it will affect all clients and stay persis‐
14 tently even after restarting bluetoothd(8). The only way to clear it is
15 to overwrite the policy with the same method.
16
18 Service
19 org.bluez
20
21 Interface
22 org.bluez.AdminPolicySet1 [experimental]
23
24 Object path
25 [variable prefix]/{hci0,hci1,...}
26
27 Methods
28 void SetServiceAllowList(array{string} UUIDs)
29 Sets the service allowlist by specifying service UUIDs.
30
31 When called, bluetoothd(8) will block incoming and outgoing connec‐
32 tions to the service not in UUIDs for all of the clients.
33
34 Any subsequent calls to this method will supersede any previously
35 set allowlist values. Calling this method with an empty array will
36 allow any service UUIDs to be used.
37
38 The default value is an empty array.
39
40 Possible errors:
41
42 org.bluez.Error.InvalidArguments
43
44 org.bluez.Error.Failed
45
46
47
48
49BlueZ October 2023 ORG.BLUEZ.ADMINPOLICYSET(5)