Scroll to navigation

BLUETOOTHCTL-MGMT(1) Linux System Administration BLUETOOTHCTL-MGMT(1)

NAME

bluetoothctl-mgmt - Management Submenu

SYNOPSIS

bluetoothctl [--options] [mgmt.commands]

MGMT COMMANDS

select

Select a different index

> select <index>

revision

Get the MGMT Revision

> revision

commands

List supported commands

> commands

config

Show configuration info

> config

info

Show controller info

> info

extinfo

Show extended controller info

> extinfo

auto-power

Power all available features

> auto-power

power

Toggle powered state

> power <on/off>

discov

Toggle discoverable state

> discov <yes/no/limited> [timeout]

connectable

Toggle connectable state

> connectable <on/off>

fast-conn

Toggle fast connectable state

> fast-conn <on/off>

bondable

Toggle bondable state

> bondable <on/off>

pairable

Toggle bondable state

> pairable <on/off>

linksec

Toggle link level security

> linksec <on/off>

ssp

Toggle SSP mode

> spp <on/off>

sc

Toggle SC support

> sc <on/off/only>

hs

Toggle HS support

> hs <on/off>

le

Toggle LE support

> le <on/off>

advertising

Toggle LE advertising

> advertise <on/off>

bredr

Toggle BR/EDR support

> bredr <on/off>

privacy

Toggle privacy support

> privacy <on/off> [irk]

class

Set device major/minor class

> class <major> <minor>

disconnect

Disconnect device

> disconnect [-t type] <remote address>

con

List connections

> con

find

Discover nearby devices

> find [-l|-b] [-L]

find-service

Discover nearby service

> find-service [-u UUID] [-r RSSI_Threshold] [-l|-b]

stop-find

Stop discovery

> stop-find [-l|-b]

name

Set local name

> name <name> [shortname]

pair

Pair with a remote device

> pair [-c cap] [-t type] <remote address>

cancelpair

Cancel pairing

> cancelpair [-t type] <remote address>

unpair

Unpair device

> unpair [-t type] <remote address>

keys

Load Link Keys

keys

ltks

Load Long Term Keys

> ltks

irks

Load Identity Resolving Keys

> irks [--local index] [--file file path]

block

Block Device

> block [-t type] <remote address>

unblock

Unblock Device

> unblock [-t type] <remote address>

add-uuid

Add UUID

> add-uuid <UUID> <service class hint>

rm-uuid

Remove UUID

> rm-uuid <UUID>

clr-uuids

Clear UUIDs

> clear-uuids

local-oob

Local OOB data

> local-oob

remote-oob

Remote OOB data

> remote-oob [-t <addr_type>] [-r <rand192>] [-h <hash192>] [-R <rand256>] [-H <hash256>] <addr>

did

Set Device ID

> did <source>:<vendor>:<product>:<version>

static-addr

Set static address

> static-addr <address>

public-addr

Set public address

> public-addr <address>

ext-config

External configuration

> ext-config <on/off>

debug-keys

Toggle debug keys

> debug-keys <on/off>

conn-info

Get connection information

> conn-info [-t type] <remote address>

io-cap

Set IO Capability

> io-cap <cap>

scan-params

Set Scan Parameters

> scan-params <interval> <window>

get-clock

Get Clock Information

> get-clock [address]

add-device

Add Device

> add-device [-a action] [-t type] <address>

del-device

Remove Device

> del-device [-t type] <address>

clr-devices

Clear Devices

> clr-devices

bredr-oob

Local OOB data (BR/EDR)

> bredr-oob

le-oob

Local OOB data (LE)

> le-oob

advinfo

Show advertising features

> advinfo

advsize

Show advertising size info

> advsize [options] <instance_id>

add-adv

Add advertising instance

> add-adv [options] <instance_id>

rm-adv

Remove advertising instance

> rm-adv <instance_id>

clr-adv

Clear advertising instances

> clr-adv

add-ext-adv-params

Add extended advertising params

> add-ext-adv-parms [options] <instance_id>

add-ext-adv-data

Add extended advertising data

> add-ext-adv-data [options] <instance_id>

appearance

Set appearance

> appearance <appearance>

phy

Get/Set PHY Configuration

> phy [LE1MTX] [LE1MRX] [LE2MTX] [LE2MRX] [LECODEDTX] [LECODEDRX] [BR1M1SLOT] [BR1M3SLOT] [BR1M5SLOT][EDR2M1SLOT] [EDR2M3SLOT] [EDR2M5SLOT][EDR3M1SLOT] [EDR3M3SLOT] [EDR3M5SLOT]

wbs

Toggle Wideband-Speech support

> wbs <on/off>

secinfo

Show security information

> secinfo

expinfo

Show experimental features

> expinfo

exp-debug

Set debug feature

> exp-debug <on/off>

exp-privacy

Set LL privacy feature

> exp-privacy <on/off>

exp-quality

Set bluetooth quality report feature

> exp-quality <on/off>

exp-offload

Toggle codec support

> exp-offload <on/off>

read-sysconfig

Read System Configuration

> read-sysconfig

set-sysconfig

Set System Configuration

> set-sysconfig <-v|-h> [options...]

get-flags

Get device flags

set-flags

Set device flags

> set-flags [-f flags] [-t type] <address>

RESOURCES


<http://www.bluez.org>

REPORTING BUGS


<linux-bluetooth@vger.kernel.org>

COPYRIGHT

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

July 2023 BlueZ