incyclist-devices 2.3.0-beta.17 → 2.3.0-beta.18

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.
@@ -195,8 +195,10 @@ class BleInterface extends events_1.default {
195
195
  pauseLogging() {
196
196
  this.logEvent({ message: 'pausing logging' });
197
197
  this.logDisabled = true;
198
+ this.getBinding().pauseLogging();
198
199
  }
199
200
  resumeLogging() {
201
+ this.getBinding().resumeLogging();
200
202
  this.logDisabled = false;
201
203
  this.logEvent({ message: 'resuming logging' });
202
204
  }
@@ -238,7 +240,7 @@ class BleInterface extends events_1.default {
238
240
  const { peripheral } = service;
239
241
  if (peripheral.address === undefined || peripheral.address === '')
240
242
  peripheral.address = peripheral.id || peripheral.name;
241
- const protocol = this.getAdapterFactory().getProtocol(service.advertisement.serviceUuids);
243
+ const protocol = this.getAdapterFactory().getProtocol(service.serviceUUIDs);
242
244
  const { id, name, address } = (0, utils_1.getPeripheralInfo)(peripheral);
243
245
  return { interface: BleInterface.INTERFACE_NAME, protocol, id, name, address };
244
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "2.3.0-beta.17",
3
+ "version": "2.3.0-beta.18",
4
4
  "dependencies": {
5
5
  "@serialport/bindings-interface": "^1.2.2",
6
6
  "@serialport/parser-byte-length": "^9.0.1",