User Tools

Site Tools


bluetooth

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
bluetooth [2016/10/21 15:34]
leonanavi
bluetooth [2019/10/01 08:28] (current)
leonanavi
Line 1: Line 1:
 ====== Bluetooth ====== ====== Bluetooth ======
  
-Step by step tutorial how to pair and connect with Bluetooth a device with AGL to a smartphone. This tutorial has been tested with the built-in Bluetooth in Raspberry Pi 3.+Step by step tutorial how to pair and connect with Bluetooth a device with AGL to a smartphone. This tutorial has been tested with the built-in Bluetooth in Raspberry Pi 3 B/B+ and Raspberry Pi 4.  
 + 
 +Images for Raspberry Pi 4 include [[https://​gerrit.automotivelinux.org/​gerrit/​c/​AGL/​meta-agl/​+/​22508|recipe pi-bluetooth. It provides a script that starts automatically and properly configures BT-HCI.]] The same script is used in Raspbian.
  
 * Verify that the Bluetooth module is detected: * Verify that the Bluetooth module is detected:
  
   hciconfig -a   hciconfig -a
- +  ​ 
-Start Bluetooth ​systemd service: +**Note:** Check the troubleshooting if the Bluetooth ​module is NOT detected
- +
-  rfkill unblock bluetooth +
-  hciconfig hci0 up +
-  systemctl start bluetooth+
  
 * Launch bluetoothctl:​ * Launch bluetoothctl:​
Line 66: Line 64:
  
   [bluetooth]#​ quit   [bluetooth]#​ quit
 +  ​
 +==Troubleshooting==
 +
 +* Start Bluetooth systemd service:
 +
 +  rfkill unblock bluetooth
 +  hciconfig hci0 up
 +  systemctl start bluetooth
bluetooth.1477064065.txt.gz · Last modified: 2016/10/21 15:34 by leonanavi