diff --git a/lib/index.js b/lib/index.js index 0e6f2ae..96aa33c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -26,11 +26,15 @@ var bluetest = module.exports = function(options) { gatt: null }; + core.enableLuxNotification = function() { + logger.info('Enable Luxomity Notifications...'); + core.gatt.stdin.write('char-write-req 0x0042 0100\n'); + }; core.gattConnected = function() { logger.debug('Gatt connected!!!!!'); - core.gatt.stdin.write('primary\n'); + // core.gatt.stdin.write('primary\n'); }; core.connectGattP = function() {