org.bluez...PolicySet(5)
π NAME π
okay bestie, this is the org.bluez.AdminPolicySet moment β the BlueZ D-Bus AdminPolicySet API documentation β and youβre reading the org.bluez...PolicySet(5) manual page. yes, the manual name said what it said. π«Ά
β¨ DESCRIPTION β¨
This API provides the methods to control the behavior of bluetoothd(8) as an administrator. main-character admin energy only. π
The AdminPolicySet1 interface provides methods to set policies. Once the policy is set successfully, it will affect all clients and stay persistently even after restarting bluetoothd(8). The only way to clear it is to overwrite the policy with the same method. no sneaky side door, bestie. periodt. π
π¦ INTERFACE π¦
- Service β
org.bluez - Interface β
org.bluez.AdminPolicySet1[experimental] - Object path β
[variable prefix]/{hci0,hci1,...} - Used by β
bluetoothctl-admin(1)
πΈ Methods πΈ
π void SetServiceAllowList(array{string} UUIDs)
Sets the service allowlist by specifying service UUIDs. slay. β¨
When called, bluetoothd(8) will block incoming and outgoing connections to the service not in UUIDs for all of the clients. yes, all of them. π
Any subsequent calls to this method will supersede any previously set allowlist values. Calling this method with an empty array will allow any service UUIDs to be used. The default value is an empty array. π
Possible errors:
org.bluez.Error.InvalidArgumentsorg.bluez.Error.Failed
Examples:
bluetoothctl
> admin.allow [clear/uuid1 uuid2 ...]
mwah π thatβs the whole page, bestie. source/version: BlueZ, dated October 2023. go be iconic with your admin policies. π§ββοΈ
π¦ where this page comes from
- arch rolling: bluez-utils 5.87-2 Β· GPL-2.0-only
- nixpkgs unstable: bluez 5.87
- ubuntu stonking: bluez 5.87-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms