bt-device(1)
β¨ bt-device β a bluetooth device manager β¨
okay bestie, so this is bt-device(1) from the bluez-tools manual π it's your little group-chat manager for all things Bluetooth devices β listing them, connecting, disconnecting, yeeting them into the void, peeking at their info, hunting down their services, and tweaking their properties. no cap. π¦
πΈ SYNOPSIS πΈ
bt-device [OPTION...]
Help Options:
-h, --help
Application Options:
-a, --adapter=<name|mac>
-l, --list
-c, --connect=<mac>
-d, --disconnect=<name|mac>
-r, --remove=<name|mac>
-i, --info=<name|mac>
-s, --services <name|mac> [<pattern>]
--set <name|mac> <property> <value>
-v, --verbose
π DESCRIPTION π
This utility is literally the way to manage Bluetooth devices π you can:
- list the devices that have been added
- connect to a brand new device
- disconnect a device
- remove a device you've added
- show info about a device
- discover what services a remote device has to offer
- change device properties
it's giving "one tool to run the whole Bluetooth situation" and honestly? iconic. π
β¨ OPTIONS β¨
-h,--helpβ show help. that's it, that's the whole vibe π«Ά-a,--adapter <name|mac>β pick which adapter to use, by its Name or its MAC address. if you don't define this option at all, the default adapter gets used π-l,--listβ list all the added devices. your lil roster π-c,--connect <mac>β connect to the remote device by its MAC, pull in all the SDP records, and then kick off the pairing π₯-d,--disconnect <name|mac>β disconnects one specific remote device by terminating the low-level ACL connection. bye bestie π-r,--removeβ remove the device (and the pairing information goes too, so likeβ¦ be sure π)-i,--infoβ show information about a device. returns all the properties, no holding back π-s,--services <name|mac> [<pattern>]β starts service discovery to retrieve the remote service records. thepatternparameter lets you specify particular UUIDs if you're feeling specific π§--set <property> <value>β change device properties. (peep the DEVICE PROPERTIES section below for the list of available properties β¨)-v,--verboseβ verbosely display remote service records. this one affects service discovery mode, so it's the "tell me EVERYTHING" switch π
π DEVICE PROPERTIES π
stringAddress[ro] β the Bluetooth device address (MAC) of the remote device. its little government name πstringName[ro] β the Bluetooth remote device name.stringIcon[ro] β the proposed icon name, according to the freedesktop.org icon naming specification.uint32Class[ro] β the Bluetooth class of device of the remote device.listUUIDs[ro] β a list of 128-bit UUIDs that represents the available remote services.booleanPaired[ro] β indicates whether the remote device is paired.booleanConnected[ro] β indicates whether the remote device is currently connected.booleanTrusted[rw] β indicates whether the remote is seen as trusted.booleanBlocked[rw] β if set totrue, any incoming connections from the device will be immediately rejected. hard block, no notes π«stringAlias[rw] β the name alias for the remote device. the alias is how you can have a different, friendlier name for the remote device π
in case no alias is set, it will return the remote device name. setting an empty string as the alias will convert it back to the remote device name.
booleanLegacyPairing[ro] β set totrueif the device only supports the pre-2.1 pairing mechanism. old-school fr fr π»
π¦ AUTHOR π¦
Alexander Orlenko <zxteam@gmail.com>. π«Ά
π SEE ALSO π
bt-adapter(1) bt-agent(1) bt-network(1)
heads up bestie β this page is from the bluez-tools manual, and it's dated 2014-08-01. so if it's vintage, that's on purpose π β¨
k that's the whole page, go pair something πππ¦
π¦ where this page comes from
- alpine 3.24: bluez-tools-doc 0_git20201025-r0 Β· GPL-2.0-only
- arch rolling: bluez-tools 0.2.0-6 Β· GPL
- debian bookworm: bluez-tools 2.0~20170911.0.7cb788c-4 Β· GPL-2.0-or-later
- debian trixie: bluez-tools 2.0~20170911.0.7cb788c-4+b1 Β· GPL-2.0-or-later
- fedora 43: bluez-tools 0.2.0-0.28.git20170912.7cb788c.fc43 Β· GPL-2.0-or-later
- fedora 44: bluez-tools 0.2.0-0.30.git20170912.7cb788c.fc44 Β· GPL-2.0-or-later
- nixos 26.05: bluez-tools 0-unstable-2020-10-24
- nixpkgs unstable: bluez-tools 0-unstable-2020-10-24
- ubuntu jammy: bluez-tools 2.0~20170911.0.7cb788c-4 Β· GPL-2.0-or-later
- ubuntu noble: bluez-tools 2.0~20170911.0.7cb788c-4build2 Β· GPL-2.0-or-later
- ubuntu resolute: bluez-tools 2.0~20170911.0.7cb788c-4build3 Β· GPL-2.0-or-later
- ubuntu stonking: bluez-tools 2.0~20170911.0.7cb788c-4build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms