Difference between revisions of "Raspberry Pi 3 - Setting Up Bluetooth"

From Alpine Linux
Jump to: navigation, search
(Created page with " == Work in progress == The Raspberry Pi 3 has bluetooth chip on the BCM2837 and it is connected to the hardware UART. You can get bluetooth to work only if you are not us...")
 
(Work in progress)
Line 1: Line 1:
  
== Work in progress ==
+
== Work in progress - still broekn ==
  
  

Revision as of 11:20, 27 May 2016

Work in progress - still broekn

The Raspberry Pi 3 has bluetooth chip on the BCM2837 and it is connected to the hardware UART.

You can get bluetooth to work only if you are not using the UART for anything else.

You'll need the bluez package

apk add bluez

Start the bluetooth deamon at boot. This should load the right modules when you next reboot.

rc-update add bluetooth

We'll need the firmware from Broadcom

mount -o remount,rw /dev/mmcblk0p1 wget $URL/BCM43430A1.hcd -O /media/mmcblk0p1/firmware/brcm/BCM43430A1.hcd

Next we load the hci_uart module and we attach the serial port to the bcm43xx

modprobe hci_uart ln -s /lib/firmware /etc/firmware hciattach /dev/ttyAMA0 bcm43xx 115200 noflow -