BLUETOOTHCTL-ADMIN(1)

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the BLUETOOTHCTL-ADMIN(1) manual page β€” yes, that's the manual name β€” from the Linux System Administration section. This one is all about the Admin Policy Submenu. If you're here, you're doing Bluetooth admin policy things, and that's honestly main character energy. πŸ’…

✨ SYNOPSIS ✨

bluetoothctl [--options] [admin.commands]

This submenu is where you configure administrative policies using the org.bluez.AdminPolicySet(5) and org.bluez.AdminPolicyStatus(5) interfaces. Those exact interfaces, no cap. 🫢

πŸ‘‘ ADMIN POLICY COMMANDS πŸ‘‘

allow

Allow service UUIDs and block the rest of them. That's the whole assignment, fr fr. πŸ¦‹

Usage

> allow [clear/uuid1 uuid2 ...]

Uses

org.bluez.AdminPolicySet(5) property ServiceAllowList

Argument

  • [clear/uuid1 uuid2 ...] β€” list of service UUIDs to allow, or clear to remove all restrictions. Yes, literally clear β€” it's the "remove all restrictions" move. 🧚

Example: Get current allowed UUIDs list

> allow

Example: Allow Serial Port Profile only

> allow 0x1101

Example: Allow Serial Port Profile and LAN Access Profile

> allow 0x1101 0x1102

Example: Allow Serial Port Profile, LAN Access Profile, and Dialup Networking Profile

> allow 0x1101 0x1102 0x1103

Example: Allow Advanced Audio Distribution Profile only

> allow 0x110e

Example: Allow A2DP Source and Sink profiles

> allow 0x110e 0x110f

Example: Allow Serial Port Profile using full UUID

> allow 00001101-0000-1000-8000-00805f9b34fb

Example: Allow SPP and LAP using full UUIDs

> allow 00001101-0000-1000-8000-00805f9b34fb 00001102-0000-1000-8000-00805f9b34fb

Example: Remove all UUID restrictions

> allow clear

Example: Allow SPP, LAP, and DUN using mixed UUID formats

> allow 0x1101 00001102-0000-1000-8000-00805f9b34fb 0x1103

🌈 RESOURCES 🌈

the resource link is right here: http://www.bluez.org πŸ¦‹

πŸ› REPORTING BUGS πŸ›

got a bug? spill the tea to linux-bluetooth@vger.kernel.org πŸ’Œ

Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL). 🫢


mwah πŸ’‹ β€” this page comes from BlueZ and is dated November 2022. bye bestie, go handle those UUIDs! ✨

πŸ“¦ where this page comes from