mirror of
https://gitlab.silvrtree.co.uk/martind2000/bluetest.git
synced 2025-01-27 12:46:17 +00:00
continuing
This commit is contained in:
parent
2d0b31e48b
commit
0625bdb21e
@ -39,6 +39,10 @@ var bluetest = module.exports = function(options) {
|
|||||||
logger.debug('gatt exit code', code);
|
logger.debug('gatt exit code', code);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
gatt.on('message', function(m) {
|
||||||
|
logger.info(m);
|
||||||
|
});
|
||||||
|
|
||||||
logger.info('Trying to connect to ', core.mac);
|
logger.info('Trying to connect to ', core.mac);
|
||||||
cStr = 'connect ' + core.mac + '\n';
|
cStr = 'connect ' + core.mac + '\n';
|
||||||
gatt.stdin.write(cStr);
|
gatt.stdin.write(cStr);
|
||||||
|
Loading…
Reference in New Issue
Block a user