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
a7e5bc281f
commit
75e506b280
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user