This commit is contained in:
Martin Donnelly 2016-07-07 10:26:53 +01:00
parent 65156463cb
commit 050d204f64

View File

@ -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() {