mirror of
https://gitlab.silvrtree.co.uk/martind2000/bluetest.git
synced 2025-02-05 05:50:13 +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() {
|
core.connectGatt = function() {
|
||||||
logger.info('trying to connect using gatttool');
|
logger.info('trying to connect using gatttool');
|
||||||
var gatt = spawn('gatttool -I');
|
var gatt = spawn('gatttool -I');
|
||||||
|
gatt.on('error', function(err) {
|
||||||
|
logger.error(err);
|
||||||
|
});
|
||||||
gatt.on('exit', function(code) {
|
gatt.on('exit', function(code) {
|
||||||
|
|
||||||
logger.debug('gatt exit code', code);
|
logger.debug('gatt exit code', code);
|
||||||
|
Loading…
Reference in New Issue
Block a user