process luxometer

This commit is contained in:
Martin Donnelly 2016-07-07 12:05:22 +01:00
parent a7e5bc281f
commit 75e506b280

View File

@ -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) => {