OpenMarine
Bluetooth in node-red - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Node Red (https://forum.openmarine.net/forumdisplay.php?fid=15)
+--- Thread: Bluetooth in node-red (/showthread.php?tid=2641)



Bluetooth in node-red - BellaX - 2020-06-09

Hi there,

i need the node 'node-red-contrib-noble' to get bt advertising packets from my bluetooth module.

I had no success yesterday, the installation failed with compilation errors. I am not a linux programmer
so i am not able to fix these errors.

Can someone please help?

Cheers
Chris


RE: Bluetooth in node-red - MatsA - 2020-06-09

(2020-06-09, 08:53 AM)BellaX Wrote: Hi there,

i need the node 'node-red-contrib-noble' to get bt advertising packets from my bluetooth module......
Hi ! Had the same problem but did a fork with a change that helps https://github.com/MatsA/node-red-contrib-noble Just follow the instructions but change 
Code:
cd ~/.node-red to => cd ~/.signalk/red

if You done a proper installation in SignalK with Node-Red as a plugin.


RE: Bluetooth in node-red - MatsA - 2020-06-10

...tested and You have to add the following command to fix  authority to the BL device


Code:
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)