Diff between 7ef40617a049f083b3b5d318bcecbc60c4673c13 and 0d65d6862a050dd0bbdc1984bf549086ce9d75c4

Changed Files

File Additions Deletions Status
Makefile.tools +3 -2 modified
client/bluetoothctl-admin.rst +41 -0 added

Full Patch

diff --git a/Makefile.tools b/Makefile.tools
index 0bc0f23..4de8991 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -349,7 +349,7 @@ profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la $(GLIB_LIBS) $(DBUS_LIBS)
 if MANPAGES
 man_MANS += tools/rctest.1 tools/l2ping.1 tools/btattach.1 tools/isotest.1 \
 		tools/btmgmt.1 client/bluetoothctl-mgmt.1 \
-		client/bluetoothctl-monitor.1
+		client/bluetoothctl-monitor.1 client/bluetoothctl-admin.1
 endif
 
 if MESH
@@ -472,7 +472,8 @@ manual_pages += tools/hciattach.1 tools/hciconfig.1 \
 			tools/rctest.1 tools/l2ping.1 tools/btattach.1 \
 			tools/bdaddr.1 tools/isotest.1 tools/btmgmt.1 \
 			client/bluetoothctl-mgmt.1 \
-			client/bluetoothctl-monitor.1
+			client/bluetoothctl-monitor.1 \
+			client/bluetoothctl-admin.1
 
 if HID2HCI
 udevdir = $(UDEV_DIR)
diff --git a/client/bluetoothctl-admin.rst b/client/bluetoothctl-admin.rst
new file mode 100644
index 0000000..774af05
--- /dev/null
+++ b/client/bluetoothctl-admin.rst
@@ -0,0 +1,41 @@
+==================
+bluetoothctl-admin
+==================
+
+--------------------
+Admin Policy Submenu
+--------------------
+
+:Version: BlueZ
+:Copyright: Free use of this software is granted under ther terms of the GNU
+            Lesser General Public Licenses (LGPL).
+:Date: November 2022
+:Manual section: 1
+:Manual group: Linux System Administration
+
+SYNOPSIS
+========
+
+**bluetoothctl** [--options] [admin.commands]
+
+Admin Policy Commands
+=====================
+
+allow
+-----
+
+Allow service UUIDs and block rest of them.
+
+:Usage: **# allow [clear/uuid1 uuid2 ...]**
+:Example: **# allow 0x1101 0x1102 0x1103**
+:Example: **# allow clear**
+
+RESOURCES
+=========
+
+http://www.bluez.org
+
+REPORTING BUGS
+==============
+
+linux-bluetooth@vger.kernel.org