Sample Bluetooth Host Application for LINE Simple Beacon written in Node.js. Control local Bluetooth LE Controller to advertise LINE Simple Beacon's packet.
- macOS Sierra on Apple's Computer with Bluetooth LE
- Raspbian Jessie on Raspberry PI 3
- install Xcode
- install Node.js v6.x.x
$ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
$ sudo apt-get install nodejs
$ cd line-simplebeacon-nodejs-sample
$ npm install
$ sudo ./simplebeacon.js --hwid=a1b2c3d4e5
$ sudo ./simplebeacon.js -h # show usage
MIT