Comparing version 0.3.6 to 0.3.7
@@ -11,3 +11,3 @@ var os = require('os'); | ||
var npmInstall = spawn('npm', ['install', 'xpc-connection@~0.0.3'], { | ||
var npmInstall = spawn('npm', ['install', 'xpc-connection@~0.1.0'], { | ||
stdio: 'inherit' | ||
@@ -14,0 +14,0 @@ }); |
@@ -9,3 +9,3 @@ var debug = require('debug')('hci-ble'); | ||
var hciBle = __dirname + '/../../build/Release/hci-ble'; | ||
debug('hciBle = ' + hciBle); | ||
@@ -41,3 +41,3 @@ | ||
var found; | ||
this._buffer = this._buffer.substring(newLineIndex + 1); | ||
@@ -55,3 +55,3 @@ | ||
} | ||
this.emit('stateChange', adapterState); | ||
@@ -94,2 +94,8 @@ } else if ((found = line.match(/^event (.*)$/))) { | ||
var length = eir.readUInt8(i); | ||
if (length < 1) { | ||
debug('invalid EIR data, length = ' + length); | ||
break; | ||
} | ||
var type = eir.readUInt8(i + 1); // https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-profile | ||
@@ -96,0 +102,0 @@ |
@@ -530,2 +530,6 @@ var debug = require('debug')('yosemite-bindings'); | ||
}); | ||
if (withoutResponse) { | ||
this.emit('write', deviceUuid, serviceUuid, characteristicUuid); | ||
} | ||
}; | ||
@@ -532,0 +536,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "A node.js BLE (Bluetooth low energy) central library.", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
240318
38
5467