diff --git a/lib/index.js b/lib/index.js index cc68ab0..721c4c1 100644 --- a/lib/index.js +++ b/lib/index.js @@ -61,6 +61,7 @@ var bluetest = module.exports = function(options) { logger.info('Trying to connect to ', core.mac); cStr = 'connect ' + core.mac + '\n'; gatt.stdin.write(cStr); + gatt.stdin.write('primary'); };