misfit-bolt
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -6,5 +6,6 @@ 'use strict'; | ||
var advertisementName = 'MFBOLT'; | ||
var on = 'CLTMP 3200,100'; | ||
var off = 'CLTMP 3200,0'; | ||
var advertisementName = 'MFBOLT', | ||
lightCharacteristicUUID = 'fff1', | ||
on = 'CLTMP 3200,100', | ||
off = 'CLTMP 3200,0'; | ||
@@ -38,3 +39,3 @@ function isOn(value) { | ||
characteristic = characteristics[i]; | ||
if(characteristic.uuid == 'fff1') { | ||
if(characteristic.uuid == lightCharacteristicUUID) { | ||
this._light = characteristic; | ||
@@ -41,0 +42,0 @@ } |
{ | ||
"name": "misfit-bolt", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Misfit Bolt Javascript Interface", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"debug": "^2.2.0", | ||
"noble": "^1.2.1" | ||
"noble": "^1.3.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
28098
9
666
Updatednoble@^1.3.0