-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the xdrip-js wiki!
Follow these steps in this order
The version of Node that ships with jubilinux is old (v0.10.something). Here are the instructions for updating Node:
sudo apt-get remove nodered -y
sudo apt-get remove nodejs nodejs-legacy -y
sudo apt-get remove npm -y # if you installed npm
sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
sudo apt-get install nodejs -y
The installation instructions for noble state that the following command needs to be run to install bluez and dependencies:
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
However, the version of bluez installed by apt-get
is an older version that conflicts with the version used in the docs for bluetooth tethering; it seems this step isn't needed with bluez v3.7.
To install xdrip-js for production use, run the command npm install --production
after cloning the repo. There will be a whole bunch of compiler warnings, but it should still work.
one place to look is /etc/rc.local which can optionally start the "always pair" bluetooth agent initiate a pairing request with that running and it won't matter what pin you provide; non-interactive pairing >acceptance from the edison to a pair request by another device the always pair agent requires bluez
https://www.spinics.net/lists/linux-bluetooth/msg69237.html
Might be an idea to try
btmgmt pairable on
btmgmt le on
btmgnt privacy on
as per https://github.com/sandeepmistry/bleno/issues/31
Also, note that bluez supports IRKs and resolvable private addresses (RPAs) as of version 5.43. Might need to upgrade. http://www.bluez.org/release-of-bluez-5-43/
Some useful tips for LE privacy here.
Also, from @PieterGit, here's the instructions for loading a vanilla version of the kernel on the edison: https://edison.internet-share.com/wiki/Using_a_vanilla_Linux_kernel_with_Intel_Edison.
btmgmt
allows setting privacy. Here are some details about installing btmgmt. Also see this.
https://www.raspberrypi.org/forums/viewtopic.php?f=53&t=86963