From 7f1dbac5875712d0b941cbd38d4914052a68dd46 Mon Sep 17 00:00:00 2001 From: lt Date: Mon, 3 Jun 2024 14:43:03 -0400 Subject: [PATCH] Update RNodeInterface to add list of default setting parameters --- public/index.html | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/public/index.html b/public/index.html index 576df80..0b9e435 100644 --- a/public/index.html +++ b/public/index.html @@ -1094,25 +1094,37 @@
- +
- - + Transmit Power: {{ newInterfaceTxpower }} dBm + + +
+ 1 dBm + {{RNodeInterfaceDefaults.maxTXPower}} dBm +
+
- +
- +
@@ -1248,6 +1260,17 @@ newInterfaceTargetPort: null, newInterfacePort: null, + // RNode Interface Defaults + RNodeInterfaceDefaults: { + // Bandwidth (in hertz) 7.8 kHz, 10.4 kHz, 15.6 kHz, 20.8 kHz, 31.25 kHz, 41.7 kHz, 62.5 kHz, 125 kHz, 250 kHz, 500 kHz + "bandwidth": [7800, 10400, 15600, 20800, 31250, 41700, 62500, 125000, 250000, 500000], + // Coding rate: 4:5, 4:6, 4:7, 4:8 + "codingrate": [5, 6, 7, 8], + // Spreading factor: 7 - 12 + "spreadingfactor": [7, 8, 9, 10, 11, 12], + // TX power (in dBm) + "maxTXPower": 14 + }, newInterfaceFrequency: null, newInterfaceBandwidth: null, newInterfaceTxpower: null,