@stoprocent/bleno 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/hci-socket/gatt.js
CHANGED
|
@@ -740,6 +740,10 @@ class Gatt extends EventEmitter {
|
|
|
740
740
|
data = this._handles[valueHandle].value;
|
|
741
741
|
}
|
|
742
742
|
|
|
743
|
+
if (!data && this._handles[valueHandle].uuid === '2902' && this._connections.get(connection)) {
|
|
744
|
+
data = Buffer.from([0x00, 0x00]);
|
|
745
|
+
}
|
|
746
|
+
|
|
743
747
|
if (data) {
|
|
744
748
|
callback(ATT_ECODE_SUCCESS, data);
|
|
745
749
|
} else if (handleAttribute) {
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|