0.1.2 • Published 8 years ago
ollie-controller v0.1.2
##Ollie Controller
##Important
You need to rebuild bluetooth-hci-socket module in noble module in olliejs module for this module to work.To run without sudo (I haven't tested this on other distros or Mac or Windows) you have to enter the following command in ~/.nwjs after nwjs creates .nwjs directory.
bash
sudo setcap cap_net_raw+eip $(eval readlink -f `which nw`)
Running without sudo is highly encouraged, otherwise you may face unwanted folders in your project folder.- Ubuntu users shouldn't have to do anything now, I haven't written Mac and Windows scripts yet, will write them (at least Windows) when I have time.
- After you clone the repo/get the repo from npm to a folder and run
FIRSTRUN.sh
first, then you can useinit.sh
.
##Installing
- Clone this repository or
npm install ollie-controller
in a folder. Rebuild hci-socket or the alternative for your distro (OS) for windows it is bluetooth-hci-socket with nw-gyp.- ~~Optional grant bluetooth access to
nw
in~/.nwjs
directory to use without sudo.|| FIRSTRUN.sh
Blog Post (Turkish) link