incyclist-devices 2.1.25 → 2.1.26
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/ble/ble-interface.js +0 -6
- package/package.json +1 -1
package/lib/ble/ble-interface.js
CHANGED
|
@@ -133,12 +133,6 @@ class BleInterface extends events_1.default {
|
|
|
133
133
|
}
|
|
134
134
|
connect(to) {
|
|
135
135
|
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
-
try {
|
|
137
|
-
throw new Error();
|
|
138
|
-
}
|
|
139
|
-
catch (err) {
|
|
140
|
-
console.log('~~~ DEBUG:Connect BLE', err.stack);
|
|
141
|
-
}
|
|
142
136
|
if (this.connectState.isConnected) {
|
|
143
137
|
return true;
|
|
144
138
|
}
|