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 [2022/07/06 05:42] frank Add bluetooth |
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. The first part of the document | + | This document mainly introduces Bluetooth |
| - | ===== Ubuntu ===== | + | */ |
| - | <tabbox Desktop OS> | + | ====== 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 | ||
| {{/ | {{/ | ||
| Line 17: | Line 22: | ||
| {{/ | {{/ | ||
| - | Select the device | + | Select the device you want to pair with from the list. |
| {{/ | {{/ | ||
| - | < | + | ===== Ubuntu |
| - | Enable | + | Bluetooth |
| - | ```sh | + | Enable Bluetooth Service |
| - | $ sudo hciconfig hci0 up | + | |
| + | Enable and start the Bluetooth service, then bring up the interface: | ||
| + | |||
| + | ===== Ubuntu Server ===== | ||
| + | |||
| + | Bluetooth configuration via console bluetooth utils. | ||
| + | |||
| + | * Enable Bluetooth: | ||
| + | |||
| + | ```shell | ||
| + | sudo rfkill unblock bluetooth | ||
| + | sudo hciconfig hci0 up | ||
| ``` | ``` | ||
| - | Launch | + | * Launch |
| - | ```sh | + | ```shell |
| $ sudo bluetoothctl | $ sudo bluetoothctl | ||
| + | ``` | ||
| + | |||
| + | You will see a prompt similar to: | ||
| + | ```shell | ||
| [NEW] Controller 43: | [NEW] Controller 43: | ||
| Agent registered | Agent registered | ||
| Line 38: | Line 58: | ||
| ``` | ``` | ||
| - | Setup: | + | Within '' |
| - | ```sh | + | ```shell |
| [bluetooth]# | [bluetooth]# | ||
| [bluetooth]# | [bluetooth]# | ||
| Line 49: | Line 69: | ||
| ``` | ``` | ||
| - | Scan for Bluetooth devices: | + | * Scan for Devices: |
| - | ```sh | + | ```shell |
| [bluetooth]# | [bluetooth]# | ||
| + | ``` | ||
| + | Example output: | ||
| + | ```shell | ||
| Discovery started | Discovery started | ||
| [CHG] Controller 43: | [CHG] Controller 43: | ||
| Line 58: | Line 81: | ||
| [NEW] Device 8C: | [NEW] Device 8C: | ||
| ``` | ``` | ||
| + | * List Discovered Devices | ||
| + | Show all discovered devices: | ||
| - | Show connected Bluetooth devices: | + | ```shell |
| - | + | ||
| - | ```sh | + | |
| [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 | ||
| - | ```sh | + | ```shell |
| [bluetooth]# | [bluetooth]# | ||
| ``` | ``` | ||
| + | Replace < | ||
| <WRAP info > | <WRAP info > | ||
| - | '' | + | The '' |
| </ | </ | ||
| - | Exit bluetoothctl: | + | * Exit |
| + | To exit '' | ||
| - | ```sh | + | ```shell |
| [bluetooth]# | [bluetooth]# | ||
| - | Agent unregistered | ||
| - | [DEL] Controller 43: | ||
| - | khadas@Khadas: | ||
| ``` | ``` | ||
| - | </ | + | ====== Android ====== |
| - | ===== Android ===== | + | Please goto System Settings. |