Getting bluetooth working

bluetooth
raspberrypi3

#1

Hi, wondering if anyone can list the steps to work with bluetooth in node with a RPI 3

Is there a base docker image I should use? That already has the bluetooth libs installed?

I am trying to use Bleno: https://github.com/sandeepmistry/bleno

Can’t seem to get bluetooth working though on the RPi

Here is the dockerfile: https://gist.github.com/brancusi/a181ab634c62ff5dfb358c494d1cc823

When I run: /etc/init.d/bluetooth status
I get: [FAIL] bluetooth is not running … failed!

Any help much appreciated. Thanks.


#2

Hey @aramzadikian

You can find an example using Bluetooth here.

Its important you run these lines on the Raspberry Pi when your container starts up.

Hope that helps.