Raspberry Pi 3 - Setting Up Bluetooth

From Alpine Linux
Revision as of 11:21, 27 May 2016 by ScrumpyJack (talk | contribs) (Work in progress - still broekn)
Jump to: navigation, search

Work in progress - still broken

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 -