mirror of
https://gitlab.silvrtree.co.uk/martind2000/bluetest.git
synced 2025-01-26 20:46:17 +00:00
continuing
This commit is contained in:
parent
00af6eaf5b
commit
df28729afe
@ -24,6 +24,9 @@ var bluetest = module.exports = function(options) {
|
||||
core.connectGatt = function() {
|
||||
logger.info('trying to connect using gatttool');
|
||||
var gatt = spawn('gatttool -I');
|
||||
gatt.on('error', function(err) {
|
||||
logger.error(err);
|
||||
});
|
||||
gatt.on('exit', function(code) {
|
||||
|
||||
logger.debug('gatt exit code', code);
|
||||
|
Loading…
Reference in New Issue
Block a user