incyclist-devices 3.0.54 → 3.0.56
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.
|
@@ -245,7 +245,8 @@ class BleAdapter extends adpater_js_1.default {
|
|
|
245
245
|
}
|
|
246
246
|
isExpectedStartFailure(err) {
|
|
247
247
|
const message = err?.message;
|
|
248
|
-
return message === 'peripheral wait cancelled' || message === 'peripheral not found'
|
|
248
|
+
return message === 'peripheral wait cancelled' || message === 'peripheral not found' ||
|
|
249
|
+
message === 'wifi device wait cancelled' || message === 'wifi device wait abandoned';
|
|
249
250
|
}
|
|
250
251
|
keyPressedHandler;
|
|
251
252
|
async startControllerSensor(start) {
|
|
@@ -240,7 +240,8 @@ export default class BleAdapter extends IncyclistDevice {
|
|
|
240
240
|
}
|
|
241
241
|
isExpectedStartFailure(err) {
|
|
242
242
|
const message = err?.message;
|
|
243
|
-
return message === 'peripheral wait cancelled' || message === 'peripheral not found'
|
|
243
|
+
return message === 'peripheral wait cancelled' || message === 'peripheral not found' ||
|
|
244
|
+
message === 'wifi device wait cancelled' || message === 'wifi device wait abandoned';
|
|
244
245
|
}
|
|
245
246
|
keyPressedHandler;
|
|
246
247
|
async startControllerSensor(start) {
|