smithtek-mako-rf 3.0.2 → 3.0.3
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/package.json
CHANGED
package/smithtek-mako-rf.js
CHANGED
|
@@ -576,12 +576,7 @@ state._rssiCleanup = cleanup;
|
|
|
576
576
|
} catch (err) {
|
|
577
577
|
lastErr = err;
|
|
578
578
|
|
|
579
|
-
|
|
580
|
-
state.connected = false;
|
|
581
|
-
try {
|
|
582
|
-
await new Promise((resolve) => state.client.close(() => resolve()));
|
|
583
|
-
} catch (_e) {}
|
|
584
|
-
|
|
579
|
+
node.warn(`${busName}: RF error fc${req.fc} uid${req.unitid} try ${attempt}/${totalTries}: ${err.message || err}`);
|
|
585
580
|
|
|
586
581
|
if (attempt < totalTries && gap_s > 0) {
|
|
587
582
|
await sleep(Math.floor(gap_s * 1000));
|
|
Binary file
|
|
Binary file
|