mirror of
https://gitlab.silvrtree.co.uk/martind2000/bluetest.git
synced 2025-02-09 20:19:17 +00:00
turning on the luxometer
This commit is contained in:
parent
ba9d7c70dc
commit
06bf56c610
@ -29,6 +29,7 @@ var bluetest = module.exports = function(options) {
|
|||||||
core.enableLuxNotification = function() {
|
core.enableLuxNotification = function() {
|
||||||
logger.info('Enable Luxomity Notifications...');
|
logger.info('Enable Luxomity Notifications...');
|
||||||
core.gatt.stdin.write('char-write-req 0x0042 0100\n');
|
core.gatt.stdin.write('char-write-req 0x0042 0100\n');
|
||||||
|
core.gatt.stdin.write('char-write-req 0x0044 01\n');
|
||||||
};
|
};
|
||||||
|
|
||||||
core.gattConnected = function() {
|
core.gattConnected = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user