incyclist-devices 2.3.14 → 2.3.15-beta.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.
@@ -390,8 +390,10 @@ class BleInterface extends events_1.default {
390
390
  checkForWahooEnhancement(announcement) {
391
391
  if (announcement.name.includes('KICKR')) {
392
392
  const supported = announcement.serviceUUIDs.map(s => (0, utils_1.beautifyUUID)(s));
393
- if (supported.length === 1 && supported[0] === '1818')
393
+ if (supported.length === 1 && (supported[0] === '1818' || supported[0] === 'FC82')) {
394
+ this.logEvent({ message: 'wahoo enhancement detected', name: announcement.name, supported });
394
395
  return true;
396
+ }
395
397
  }
396
398
  return false;
397
399
  }
@@ -531,6 +533,7 @@ class BleInterface extends events_1.default {
531
533
  }
532
534
  addService(service) {
533
535
  try {
536
+ this.logEvent({ message: 'ble peripheral announced', service });
534
537
  const isSuported = this.isSupportedPeripheral(service);
535
538
  if (!isSuported) {
536
539
  return;
@@ -238,6 +238,7 @@ class DirectConnectInterface extends events_1.default {
238
238
  try {
239
239
  service.transport = this.getName();
240
240
  const existing = this.find(service);
241
+ this.logEvent({ message: 'wifi service announced', device: service.name, announcement: service, source, existing, interface: 'wifi' });
241
242
  if (existing) {
242
243
  const idx = this.services.indexOf(existing);
243
244
  this.services[idx] = { ts: Date.now(), service };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "2.3.14",
3
+ "version": "2.3.15-beta.1",
4
4
  "dependencies": {
5
5
  "@serialport/bindings-interface": "^1.2.2",
6
6
  "@serialport/parser-byte-length": "^9.0.1",