This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:configurations:bluetooth [2023/03/06 09:26] nick |
products:sbc:common:configurations:bluetooth [2026/02/02 22:31] (current) gray update by using AI |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Bluetooth ====== | ====== Bluetooth ====== | ||
| + | /* | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| This document mainly introduces Bluetooth from two parts. The first one is about how to use Bluetooth under Ubuntu, and the second one is how to use Bluetooth under Android. | This document mainly introduces Bluetooth from two parts. The first one is about how to use Bluetooth under Ubuntu, and the second one is how to use Bluetooth under Android. | ||
| - | ===== Linux ===== | + | */ |
| - | <tabbox Desktop> | + | ====== Linux ====== |
| - | Bluetooth settings are in the upper-right corner, click it and select '' | + | Bluetooth configuration examples for Ubuntu Desktop and Server variants. |
| + | |||
| + | ===== Ubuntu Desktop ====== | ||
| + | |||
| + | Bluetooth settings are located | ||
| {{/ | {{/ | ||
| - | Click '' | + | Click '' |
| {{/ | {{/ | ||
| - | Select the device | + | Select the device you want to pair with from the list. |
| {{/ | {{/ | ||
| - | < | + | ===== Ubuntu |
| - | Enable Bluetooth: | + | Bluetooth can be configured via command-line utilities. |
| + | |||
| + | Enable Bluetooth Service | ||
| + | |||
| + | Enable and start the Bluetooth service, then bring up the interface: | ||
| + | |||
| + | ===== Ubuntu Server ===== | ||
| + | |||
| + | Bluetooth configuration via console bluetooth utils. | ||
| + | |||
| + | * Enable Bluetooth: | ||
| ```shell | ```shell | ||
| Line 30: | Line 45: | ||
| ``` | ``` | ||
| - | Launch | + | * Launch |
| ```shell | ```shell | ||
| $ sudo bluetoothctl | $ sudo bluetoothctl | ||
| + | ``` | ||
| + | |||
| + | You will see a prompt similar to: | ||
| + | ```shell | ||
| [NEW] Controller 43: | [NEW] Controller 43: | ||
| Agent registered | Agent registered | ||
| Line 39: | Line 58: | ||
| ``` | ``` | ||
| - | Setup: | + | Within '' |
| ```shell | ```shell | ||
| Line 50: | Line 69: | ||
| ``` | ``` | ||
| - | Scan for Bluetooth devices: | + | * Scan for Devices: |
| ```shell | ```shell | ||
| [bluetooth]# | [bluetooth]# | ||
| + | ``` | ||
| + | Example output: | ||
| + | ```shell | ||
| Discovery started | Discovery started | ||
| [CHG] Controller 43: | [CHG] Controller 43: | ||
| Line 59: | Line 81: | ||
| [NEW] Device 8C: | [NEW] Device 8C: | ||
| ``` | ``` | ||
| - | + | * List Discovered Devices | |
| - | Show connected Bluetooth | + | Show all discovered |
| ```shell | ```shell | ||
| [bluetooth]# | [bluetooth]# | ||
| + | ``` | ||
| + | |||
| + | Example output: | ||
| + | ```shell | ||
| Device 46: | Device 46: | ||
| Device 8C: | Device 8C: | ||
| Device 9C: | Device 9C: | ||
| - | [NEW] Device AC: | ||
| - | [CHG] Device AC: | ||
| - | [CHG] Device AC: | ||
| ``` | ``` | ||
| - | Pair with a device: | + | * Pair and Connect |
| + | To pair and connect | ||
| ```shell | ```shell | ||
| [bluetooth]# | [bluetooth]# | ||
| ``` | ``` | ||
| + | Replace < | ||
| <WRAP info > | <WRAP info > | ||
| - | '' | + | The '' |
| </ | </ | ||
| - | Exit bluetoothctl: | + | * Exit |
| + | To exit '' | ||
| ```shell | ```shell | ||
| [bluetooth]# | [bluetooth]# | ||
| - | Agent unregistered | ||
| - | [DEL] Controller 43: | ||
| - | khadas@Khadas: | ||
| ``` | ``` | ||
| - | </ | + | ====== Android |
| - | + | ||
| - | + | ||
| - | ===== Android ===== | + | |
| Please goto System Settings. | Please goto System Settings. | ||