Thread (23 messages) 23 messages, 2 authors, 2026-01-28

Re: [PATCH BlueZ v6 10/20] tools: Install btmgmt along with other tools

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2026-01-28 18:26:34

Hi Bastien,

On Wed, Jan 28, 2026 at 11:50 AM Bastien Nocera [off-list ref] wrote:
quoted hunk ↗ jump to hunk
btmgmt is not installed by default, but it is useful for debugging
some issues and to set the MAC address on HCIs which don't have their
MAC address configured.
---
 tools/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/meson.build b/tools/meson.build
index 63ae1363972e..40215df691b7 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -160,7 +160,8 @@ if get_option('tools').enabled()
   if readline_dep.found()
     executable('btmgmt',
       sources: [ 'btmgmt.c', '../src/uuid-helper.c', '../client/display.c', '../client/mgmt.c' ],
-      dependencies: [ libbluetooth_internal_dep, libshared_mainloop_dep, readline_dep ]
+      dependencies: [ libbluetooth_internal_dep, libshared_mainloop_dep, readline_dep ],
+      install: true
     )
     executable('obex-client-tool',
       sources: [ 'obex-client-tool.c', gobex_sources, btio_sources ],
--
2.52.0
Bluetoothctl support mgmt menu nowdays, the code behind it is the same
as btmgmt.


-- 
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help