User Tools

Site Tools


How to install bluetooth on raspberry pi 3

Files if needed :

99-com.rules bluez_5.23-2_rpi2_armhf.deb pi-bluetooth_0.1.1_armhf.deb re4son_kali-pi-tft_kernel_current.tar.xz

Install the re4son-kernel if you come from stock kali:

$mount /dev/mmcblk0p1 /boot
$cd /usr/local/src
$wget  -O re4son_kali-pi-tft_kernel_current.tar.xz
$tar -xJf re4son_kali-pi-tft_kernel_current.tar.xz
$cd re4son_kali-pi-tft_kernel_4*

Login as root and install the necessary Bluetooth packages, firmware and rules:

$wget -O /lib/firmware/brcm/BCM43430A1.hcd
$wget -O /etc/udev/rules.d/99-com.rules

$cd ~
$apt install bluez-firmware

$dpkg -i bluez_5.23-2+rpi2_armhf.deb
$apt-mark hold bluez

$dpkg -i pi-bluetooth_0.1.1_armhf.deb
$apt-mark hold pi-bluetooth


Log back in as root and continue :

$systemctl enable bluetooth
$service bluetooth start
$systemctl enable hciuart
$systemctl start hciuart.service

You are now ready to pair your device :


Example of pair device :

[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[bluetooth]# pair 00:1F:xx:xx:xx:xx
Attempting to pair with 00:1F:xx:xx:xx:xx
Pairing successful
[bluetooth]# trust 00:1F:xx:xx:xx:xx
[CHG] Device 00:1F:xx:xx:xx:xx Trusted: yes
[bluetooth]# connect 00:1F:xx:xx:xx:xx
Attempting to connect to 00:1F:xx:xx:xx:xx
Connection successful

Source : kali forum

- created date : 2017.02.21 -

bluetooth_on_raspberry_pi_3.txt · Last modified: 2017/02/21 13:51 (external edit)