Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:configurations:bluetooth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:configurations:bluetooth [2023/03/06 22:48]
hyphop [Linux]
products:sbc:common:configurations:bluetooth [2026/02/02 22:31] (current)
gray update by using AI
Line 10: Line 10:
 ====== Linux ====== ====== Linux ======
  
-Bluetooth configure examples for Ubuntu Desktop and Server... +Bluetooth configuration examples for Ubuntu Desktop and Server variants.
-===== Ubuntu Desktop =====+
  
-Bluetooth settings are in the upper-right corner, click it and select ''Device''.+===== Ubuntu Desktop ====== 
 + 
 +Bluetooth settings are located in the system menu at the upper-right corner. Click the menu and select ''Devices...''.
  
 {{/products:sbc:common:configurations:gnome-bluetooth1.png?500|gnome-bluetooth1}} {{/products:sbc:common:configurations:gnome-bluetooth1.png?500|gnome-bluetooth1}}
  
-Click ''Search'' to scan for Bluetooth devices nearby.+Click ''Search'' to scan for nearby Bluetooth devices.
  
 {{/products:sbc:common:configurations:gnome-bluetooth2.png?500|gnome-bluetooth2}} {{/products:sbc:common:configurations:gnome-bluetooth2.png?500|gnome-bluetooth2}}
  
-Select the device that you want to pair with.+Select the device you want to pair with from the list.
  
 {{/products:sbc:common:configurations:gnome-bluetooth3.png?500|gnome-bluetooth3}} {{/products:sbc:common:configurations:gnome-bluetooth3.png?500|gnome-bluetooth3}}
 +
 +===== Ubuntu Server ======
 +
 +Bluetooth can be configured via command-line utilities.
 +
 +Enable Bluetooth Service
 +
 +Enable and start the Bluetooth service, then bring up the interface:
  
 ===== Ubuntu Server ===== ===== Ubuntu Server =====
  
-Enable Bluetooth:+Bluetooth configuration via console bluetooth utils.  
 + 
 +  * Enable Bluetooth:
  
 ```shell ```shell
Line 34: Line 45:
 ``` ```
  
-Launch ''bluetoothctl'':+  * Launch the Bluetooth control tool:
  
 ```shell ```shell
 $ sudo bluetoothctl $ sudo bluetoothctl
 +```
 +
 +You will see a prompt similar to:
 +```shell
 [NEW] Controller 43:54:A2:00:1F:AC Khadas [default] [NEW] Controller 43:54:A2:00:1F:AC Khadas [default]
 Agent registered Agent registered
Line 43: Line 58:
 ``` ```
  
-Setup:+Within ''bluetoothctl'', run the following setup commands:
  
 ```shell ```shell
Line 54: Line 69:
 ``` ```
  
-Scan for Bluetooth devices:+  * Scan for Devices:
  
 ```shell ```shell
 [bluetooth]# scan on [bluetooth]# scan on
 +```
 +Example output:
 +```shell
 Discovery started Discovery started
 [CHG] Controller 43:54:A2:00:1F:AC Discovering: yes [CHG] Controller 43:54:A2:00:1F:AC Discovering: yes
Line 63: Line 81:
 [NEW] Device 8C:EB:C6:E7:2E:33 Khadas [NEW] Device 8C:EB:C6:E7:2E:33 Khadas
 ``` ```
- +  * List Discovered Devices 
-Show connected Bluetooth devices:+Show all discovered devices:
  
 ```shell ```shell
 [bluetooth]# devices [bluetooth]# devices
 +```
 +
 +Example output:
 +```shell
 Device 46:04:25:5F:1E:8D 46-04-25-5F-1E-8D Device 46:04:25:5F:1E:8D 46-04-25-5F-1E-8D
 Device 8C:EB:C6:E7:2E:33 Khadas Device 8C:EB:C6:E7:2E:33 Khadas
 Device 9C:FB:D5:0D:91:47 9C-FB-D5-0D-91-47 Device 9C:FB:D5:0D:91:47 9C-FB-D5-0D-91-47
-[NEW] Device AC:83:F3:DD:D4:E1 AC-83-F3-DD-D4-E1 
-[CHG] Device AC:83:F3:DD:D4:E1 Name: LibreELEC 
-[CHG] Device AC:83:F3:DD:D4:E1 Alias: LibreELEC 
 ``` ```
  
-Pair with a device:+  * Pair and Connect 
 +To pair and connect with a device, use its MAC address:
  
 ```shell ```shell
 [bluetooth]# connect <device_addr> [bluetooth]# connect <device_addr>
 ``` ```
 +Replace <device_mac_address> with the actual address (e.g., 8C:EB:C6:E7:2E:33).
  
 <WRAP info > <WRAP info >
-''device_addr'' is the address of the device you want to connect to.+The ''device_mac_address'' is the unique hardware address of the Bluetooth device you want to connect to, shown in the ''devices'' list.
 </WRAP> </WRAP>
  
-Exit bluetoothctl:+  * Exit 
 +To exit ''bluetoothctl'':
  
 ```shell ```shell
 [bluetooth]# quit [bluetooth]# quit
-Agent unregistered 
-[DEL] Controller 43:54:A2:00:1F:AC Khadas [default] 
-khadas@Khadas:~$ 
 ``` ```
  
Last modified: 2023/03/06 22:48 by hyphop