mirror of
https://gitlab.silvrtree.co.uk/martind2000/bluetest.git
synced 2025-02-05 03:00:14 +00:00
more
This commit is contained in:
parent
65156463cb
commit
050d204f64
@ -26,11 +26,15 @@ var bluetest = module.exports = function(options) {
|
|||||||
gatt: null
|
gatt: null
|
||||||
};
|
};
|
||||||
|
|
||||||
|
core.enableLuxNotification = function() {
|
||||||
|
logger.info('Enable Luxomity Notifications...');
|
||||||
|
core.gatt.stdin.write('char-write-req 0x0042 0100\n');
|
||||||
|
};
|
||||||
|
|
||||||
core.gattConnected = function() {
|
core.gattConnected = function() {
|
||||||
logger.debug('Gatt connected!!!!!');
|
logger.debug('Gatt connected!!!!!');
|
||||||
|
|
||||||
core.gatt.stdin.write('primary\n');
|
// core.gatt.stdin.write('primary\n');
|
||||||
};
|
};
|
||||||
|
|
||||||
core.connectGattP = function() {
|
core.connectGattP = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user