incyclist-devices 1.5.19 → 1.5.20
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/antv2/ant-device.js
CHANGED
|
@@ -97,7 +97,6 @@ class AntAdapter extends device_1.default {
|
|
|
97
97
|
if (this.ivDataTimeout)
|
|
98
98
|
return;
|
|
99
99
|
this.ivDataTimeout = setInterval(() => {
|
|
100
|
-
console.log('~~~ check', this.lastDataTS);
|
|
101
100
|
if (!this.lastDataTS)
|
|
102
101
|
return;
|
|
103
102
|
if (this.lastDataTS + NO_DATA_TIMEOUT < Date.now()) {
|
|
@@ -64,7 +64,7 @@ class AntInterface extends events_1.default {
|
|
|
64
64
|
const device = new this.Binding(Object.assign(Object.assign({}, this.props), { logger: this.logger }));
|
|
65
65
|
const opened = yield device.open();
|
|
66
66
|
if (!opened) {
|
|
67
|
-
this.logEvent({ message: '
|
|
67
|
+
this.logEvent({ message: 'ANT+ not connected' });
|
|
68
68
|
this.isConnecting = false;
|
|
69
69
|
return false;
|
|
70
70
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "incyclist-devices",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.20",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@serialport/parser-byte-length": "^9.0.1",
|
|
6
6
|
"@serialport/parser-delimiter": "^9.0.1",
|
|
7
7
|
"@types/serialport": "^8.0.1",
|
|
8
8
|
"gd-ant-plus": "^0.0.33",
|
|
9
|
-
"incyclist-ant-plus": "^0.1.
|
|
9
|
+
"incyclist-ant-plus": "^0.1.12",
|
|
10
10
|
"win32filetime": "^1.0.2"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|