From f1a5ae5affc92a1b564d32733746948af8621c2a Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Thu, 7 Dec 2017 12:05:54 -0500 Subject: [PATCH] bluetooth on data event --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 06395b8..ee66fd8 100644 --- a/index.js +++ b/index.js @@ -290,9 +290,9 @@ function index (req, res, next) { function init () { createServer() - /*ble.on('data', (str) => { + ble.on('data', (str) => { console.log(str) - })*/ + }) intval.init() }