smithtek-mako-rf 2.9.5 → 2.9.7
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
|
Binary file
|
package/smithtek-mako-rf.js
CHANGED
|
@@ -598,6 +598,9 @@ module.exports = function (RED) {
|
|
|
598
598
|
|
|
599
599
|
|
|
600
600
|
const rssiDbm = await queryRssiOnSamePort(state, guardMs, timeoutMs);
|
|
601
|
+
state.connected = false;
|
|
602
|
+
try { state.client.close(() => {}); } catch (_e) {}
|
|
603
|
+
|
|
601
604
|
|
|
602
605
|
const nodeKeyBase = sanitizeKey(node.name || busName || "mako_rf");
|
|
603
606
|
const key = `${nodeKeyBase}_rssi_dbm`;
|