diff --git a/data/igate_conf.json b/data/igate_conf.json index 9c6974f..6dd0b59 100644 --- a/data/igate_conf.json +++ b/data/igate_conf.json @@ -1,46 +1,43 @@ { "callsign": "NOCALL-10", - "stationMode": 2, - "iGateComment": "LoRa_APRS_iGate", "wifi": { "autoAP": { "password": "1234567890", "powerOff": 10 }, - "AP": [ - { - "ssid": "WIFI_1", - "password": "WIFI_1_password", - "latitude": 0.0, - "longitude": 0.0 - }, - { - "ssid": "WIFI_2", - "password": "WIFI_2_password", - "latitude": 0.0, - "longitude": 0.0 - } - ] + "AP": [] + }, + "beacon": { + "latitude": 0.0, + "longitude": 0.0, + "comment": "LoRa APRS", + "interval": 15, + "overlay": "L", + "symbol": "#", + "path": "WIDE1-1", + "sendViaAPRSIS": false, + "sendViaRF": false }, "digi": { - "comment": "LoRa_APRS_Digirepeater", - "latitude": 0.0, - "longitude": 0.0 + "mode": 0 }, "aprs_is": { + "active": false, "passcode": "XYZVW", "server": "rotate.aprs2.net", "port": 14580, - "reportingDistance": 30 + "filter": "", + "toRF": false }, "lora": { - "iGateFreq": 433775000, - "digirepeaterTxFreq": 433775000, - "digirepeaterRxFreq": 433900000, + "txFreq": 433775000, + "rxFreq": 433775000, "spreadingFactor": 12, "signalBandwidth": 125000, "codingRate4": 5, - "power": 20 + "power": 20, + "txActive": false, + "rxActive": true }, "display": { "alwaysOn": true, @@ -60,9 +57,6 @@ "password": "" }, "other": { - "beaconInterval": 15, - "igateSendsLoRaBeacons": false, - "igateRepeatsLoRaPackets": false, "rememberStationTime": 30, "sendBatteryVoltage": false, "externalVoltageMeasurement": false, diff --git a/data_embed/index.html b/data_embed/index.html index dcf0771..296e6b4 100644 --- a/data_embed/index.html +++ b/data_embed/index.html @@ -3,7 +3,7 @@ - LoRa iGate + LoRa iGate & Digi software − Ricardo Guzman CA2RXU @@ -18,6 +18,7 @@ >CA2RXU's LoRa iGate Configuration
+ OTA
@@ -479,55 +651,62 @@ Digipeating - Define the location coordinates for the - Digipeater mode, and a special comment if - you like. + Define the Digipeater mode
-
+
Repeater Mode - -
-
- - + + +
-
- - -
+

@@ -572,7 +751,7 @@ >Password
+
+
+
+ + + + Telemetry +
+ Define the telemetry +
+
+
+
+
+ + +
+
+
+
+
+
+
@@ -606,17 +831,34 @@
-
+
+
+ + +
+
+
+
+
@@ -625,25 +867,6 @@ >
-
- -
- - minutes -
-
@@ -693,39 +916,6 @@ >
-
-
-
- - -
-
-
-
- - -
-
-

@@ -763,7 +953,7 @@ Enable syslog
@@ -825,17 +1015,47 @@
+
+
+ + +
+
+
+
+ + +
+
@@ -853,18 +1073,17 @@
Hz
-
+
+
+ + +
@@ -950,10 +1206,13 @@ >
diff --git a/data_embed/script.js b/data_embed/script.js index eed32c2..e4f5446 100644 --- a/data_embed/script.js +++ b/data_embed/script.js @@ -75,9 +75,13 @@ function loadSettings(settings) { currentSettings = settings; // General document.getElementById("callsign").value = settings.callsign; - document.getElementById("stationMode").value = settings.stationMode; + // document.getElementById("stationMode").value = settings.stationMode; document.getElementById("bme.active").checked = settings.bme.active; - document.getElementById("iGateComment").value = settings.iGateComment; + document.getElementById("beacon.comment").value = settings.beacon.comment; + document.getElementById("beacon.symbol").value = settings.beacon.symbol; + document.getElementById("beacon.overlay").value = settings.beacon.overlay; + + document.getElementById("action.symbol").value = settings.beacon.overlay + settings.beacon.symbol; document.querySelector(".list-networks").innerHTML = ""; @@ -94,23 +98,15 @@ function loadSettings(settings) { // Increment the name, id, and for attributes const attributeName = `wifi.AP.${networkCount}`; networkElement.innerHTML = ` -
+
-
- +
+
-
- - -
-
- - -
-
+