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 10.12 - 10.13 on Apple's Computer with Bluetooth LE
⚠️ Currently, not work on 10.14 (Mojave) or later. See this issue
- Raspbian Jessie on Raspberry PI 3
- install Xcode
- install Node.js v6.x.x+
⚠️ Currently, not work on v10.x.x. See this issue abount xpc-connection
$ 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