bluetoothctl
Bluetoothctl is a command line tool used for managing Bluetooth devices on Linux systems. It is typically used in terminal environments to interact with Bluetooth devices and perform various tasks related to Bluetooth connectivity.
With bluetoothctl, users can search for nearby Bluetooth devices, pair, connect, and disconnect from them. It provides a set of commands that allow users to control and configure Bluetooth adapters and devices.
This tool follows a simple command structure where users can enter commands to scan for available devices, pair with a specific device, trust devices, and set them as trusted. It also allows users to list paired and connected devices, as well as remove existing pairings.
Bluetoothctl provides information on the device's status, such as its battery level, signal strength, and available services. It shows detailed information about paired devices, including their MAC address, device name, and class.
Users can also manage Bluetooth adapters through bluetoothctl, enabling and disabling them, as well as configuring visibility settings. Additionally, this tool allows users to set up and manage Bluetooth network connections.
Bluetoothctl comes with a set of built-in Bluetooth profiles, such as A2DP, HFP, and HID, and allows users to enable or disable these profiles for connected devices.
Overall, bluetoothctl is a powerful command line tool that provides a range of functionalities for managing Bluetooth devices and connections on Linux systems.
List of commands for bluetoothctl:
-
bluetoothctl:tldr:06c93 bluetoothctl: Pair with a device.$ bluetoothctl pair ${mac_address}try on your machineexplain this command
-
bluetoothctl:tldr:31d6d bluetoothctl: List all known devices.$ bluetoothctl devicestry on your machineexplain this command
-
bluetoothctl:tldr:39dcf bluetoothctl: Remove a device.$ bluetoothctl remove ${mac_address}try on your machineexplain this command
-
bluetoothctl:tldr:4067d bluetoothctl: Connect to a paired device.$ bluetoothctl connect ${mac_address}try on your machineexplain this command
-
bluetoothctl:tldr:80afb bluetoothctl: Power the Bluetooth controller on or off.$ bluetoothctl power ${select}try on your machineexplain this command
-
bluetoothctl:tldr:868f7 bluetoothctl: Display help.$ bluetoothctl helptry on your machineexplain this command
-
bluetoothctl:tldr:d3e6d bluetoothctl: Disconnect from a paired device.$ bluetoothctl disconnect ${mac_address}try on your machineexplain this command
-
bluetoothctl:tldr:f047c bluetoothctl: Enter the `bluetoothctl` shell.$ bluetoothctltry on your machineexplain this command