[ Launch: Tributary inlet ] 6372308 by HKochniss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// code by Martin Schmid | |
// see https://github.com/eelcocramer/node-bluetooth-serial-port#pre-requests-on-linux | |
// for OS specific requirements for Linux/Windows/OS X to access Bluetooth | |
var btSerial = new (require('bluetooth-serial-port')).BluetoothSerialPort(); | |
btSerial.on('found', function(address, name) { | |
if (address === '00:13:EF:D6:53:6C') { | |
btSerial.findSerialPortChannel(address, function(channel) { | |
View this code at http://livecoding.io/6263389