smithtek-mako-rf 2.9.0 → 2.9.1
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 +1 -1
- package/smithtek-mako-rf.html +35 -24
package/package.json
CHANGED
package/smithtek-mako-rf.html
CHANGED
|
@@ -249,7 +249,14 @@
|
|
|
249
249
|
$("#st-row-parity").toggle(!isRF);
|
|
250
250
|
$("#st-row-stopBits").toggle(!isRF);
|
|
251
251
|
|
|
252
|
-
//
|
|
252
|
+
// show RSSI options ONLY for RF
|
|
253
|
+
$("#st-rssi-wrap").toggle(isRF);
|
|
254
|
+
|
|
255
|
+
// Optional: if not RF, force RSSI off so it can't be accidentally enabled
|
|
256
|
+
if (!isRF) {
|
|
257
|
+
$("#node-config-input-appendRssi").prop("checked", false);
|
|
258
|
+
}
|
|
259
|
+
|
|
253
260
|
if (isRF) {
|
|
254
261
|
$("#node-config-input-baudRate").val(9600);
|
|
255
262
|
$("#node-config-input-parity").val("none");
|
|
@@ -401,29 +408,33 @@
|
|
|
401
408
|
|
|
402
409
|
<hr />
|
|
403
410
|
|
|
404
|
-
<div
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
411
|
+
<div id="st-rssi-wrap">
|
|
412
|
+
|
|
413
|
+
<div class="form-row">
|
|
414
|
+
<label for="node-config-input-appendRssi"><i class="fa fa-signal"></i> RSSI</label>
|
|
415
|
+
<input type="checkbox" id="node-config-input-appendRssi" style="width:auto;">
|
|
416
|
+
<span style="margin-left:8px; font-size:12px; color:#888;">
|
|
417
|
+
(Tick on RSSI diagnostic in dBi, using this feeature slows down RF polling by 30%.)
|
|
418
|
+
</span>
|
|
419
|
+
</div>
|
|
420
|
+
|
|
421
|
+
<div class="form-row">
|
|
422
|
+
<label for="node-config-input-rssiGuardMs"><i class="fa fa-clock-o"></i> RSSI guard (ms)</label>
|
|
423
|
+
<input type="number" id="node-config-input-rssiGuardMs" min="0" style="width:140px;">
|
|
424
|
+
<span style="margin-left:8px; font-size:12px; color:#888;">
|
|
425
|
+
(The RSSI guard is the time between the Modbus poll and the RSSI read from the LoRa module 5 to 10ms is ideal)
|
|
426
|
+
</span>
|
|
427
|
+
</div>
|
|
428
|
+
|
|
429
|
+
<div class="form-row">
|
|
430
|
+
<label for="node-config-input-rssiTimeoutMs"><i class="fa fa-hourglass-end"></i> RSSI timeout (ms)</label>
|
|
431
|
+
<input type="number" id="node-config-input-rssiTimeoutMs" min="10" style="width:140px;">
|
|
432
|
+
<span style="margin-left:8px; font-size:12px; color:#888;">
|
|
433
|
+
(The RSSI timeout is how long the module will be givien to respond with the RSSI)
|
|
434
|
+
</span>
|
|
435
|
+
</div>
|
|
436
|
+
|
|
437
|
+
</div>
|
|
427
438
|
|
|
428
439
|
|
|
429
440
|
<div class="form-row">
|