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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smithtek-mako-rf",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Smithtek dedicated node for communicating with the Mako PLC over RS485 or RF",
5
5
  "keywords": [
6
6
  "node-red",
@@ -576,12 +576,7 @@ state._rssiCleanup = cleanup;
576
576
  } catch (err) {
577
577
  lastErr = err;
578
578
 
579
- // Force reconnect next attempt
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