These are chat archives for sandeepmistry/node-ancs

Jul 2016
Jul 14 2016 12:43

Hi i'm trying since two days to get node-ancs running on an Raspberry Pi B, doesn't work until now.

I'm using node v4.2.1, npm 2.14.7, i have cloned the repo on my pi, have installed the dependencies with sudo nam install, and tried to run the example app with:
sudo node test.js
Nothing happens, so i looked for noble and installed:
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev

Also i gave node the right for execution:
sudo setcap cap_net_raw+eip $(eval readlink -f which node)

Shutdown bluetooth with /etc/init.d/bluetooth stop and allow to start the BLE with sudo hciconfig hci0 up

But the test.js doesn't work at all, do you have any idea what i should do? Thanks in advanced...