incyclist-devices 2.1.16 → 2.1.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.
|
@@ -207,8 +207,7 @@ class SerialInterface extends events_1.default {
|
|
|
207
207
|
do {
|
|
208
208
|
if (attemptNo === 0)
|
|
209
209
|
this.logEvent({ message: 'checking for ports', interface: this.ifaceName, port, excludes: this.inUse });
|
|
210
|
-
|
|
211
|
-
attemptNo++;
|
|
210
|
+
attemptNo++;
|
|
212
211
|
try {
|
|
213
212
|
if (isTcpip) {
|
|
214
213
|
const _binding = binding;
|
|
@@ -17,7 +17,7 @@ const comms_1 = __importDefault(require("../../base/comms"));
|
|
|
17
17
|
const utils_2 = require("./utils");
|
|
18
18
|
const types_1 = require("../types");
|
|
19
19
|
const ByteLength = require('@serialport/parser-byte-length');
|
|
20
|
-
const TIMEOUT_SEND =
|
|
20
|
+
const TIMEOUT_SEND = 1000;
|
|
21
21
|
class Daum8008 extends comms_1.default {
|
|
22
22
|
constructor(props) {
|
|
23
23
|
super(props);
|