From 75e506b28030cf2de225a964ca052eaf7a6f501e Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Thu, 7 Jul 2016 12:05:22 +0100 Subject: [PATCH] process luxometer --- lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index cf3e6c0..bac85bd 100644 --- a/lib/index.js +++ b/lib/index.js @@ -35,7 +35,7 @@ bluetest = module.exports = function(options) { //var _data = data.toString('ascii',p + 1, l); var _data = data.toString('ascii'); //logger.debug('buffer:', data); - logger.warn('ascii:', _data); + //logger.warn('ascii:', _data); /* var wH = _data.slice(-5).split(' '); @@ -88,7 +88,7 @@ bluetest = module.exports = function(options) { }); core.gatt.on('message', function(m) { - logger.info(m); + logger.info('message:', m); }); core.gatt.stdout.on('data', (data) => {