process luxometer

This commit is contained in:
Martin Donnelly 2016-07-07 11:55:02 +01:00
parent fb91be3c1f
commit 7b0e824f0d

View File

@ -34,7 +34,7 @@ bluetest = module.exports = function(options) {
//var _data = data.toString('ascii',p + 1, l);
var _data = data.toString('ascii');
logger.debug('buffer:', data);
logger.debug('ascii:', _data);
logger.warn('ascii:', _data);
/* var wH = _data.slice(-5).split(' ');
var wB = [];
@ -90,7 +90,7 @@ bluetest = module.exports = function(options) {
core.gatt.stdout.on('data', (data) => {
logger.info(`stdout: ${data}`);
//logger.info(`stdout: ${data}`);
if (data.indexOf('Connection successful') > -1) {