mirror of
https://gitlab.silvrtree.co.uk/martind2000/bluetest.git
synced 2025-01-26 21:06:16 +00:00
process luxometer
This commit is contained in:
parent
fb91be3c1f
commit
7b0e824f0d
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user