diff --git a/data/igate_conf.json b/data/igate_conf.json index d08594d..0366d43 100644 --- a/data/igate_conf.json +++ b/data/igate_conf.json @@ -1,61 +1,61 @@ { - "callsign": "NOCALL-10", - "stationMode": 1, + "callsign": "CD2RXU-11", + "stationMode": 2, "iGateComment": "LoRa_APRS_iGate", "wifi": { "AP": [ - { "ssid": "Wifi_1", - "password": "wifi_1_password", - "latitude": 0.0000000, - "longitude": 0.0000000 + { "ssid": "Richon", + "password": "k4fPnmg5qnyf", + "latitude": -32.8805195, + "longitude": -71.4282433 }, { "ssid": "Wifi_2", "password": "wifi_2_password", "latitude": 0.0000000, "longitude": 0.0000000 } - ] - }, - "digi": { - "comment": "LoRa_APRS_Digirepeater", - "latitude": 0.0000000, - "longitude": 0.0000000 - }, - "aprs_is": { - "passcode": "VWXYZ", - "server": "euro.aprs2.net", - "port": 14580, - "reportingDistance": 30 - }, - "lora": { - "iGateFreq": 433775000, - "digirepeaterTxFreq": 433775000, - "digirepeaterRxFreq": 433900000, - "spreadingFactor": 12, - "signalBandwidth": 125000, - "codingRate4": 5, - "power": 20 - }, - "display": { - "alwaysOn": true, - "timeout": 4, - "turn180" : false - }, - "syslog": { - "active": false, - "server": "192.168.0.100", - "port": 514 - }, - "bme": { - "active": false - }, - "ota": { - "username":"", - "password": "" - }, - "other": { - "beaconInterval": 15, - "rememberStationTime": 30, - "sendBatteryVoltage": false - } + ] + }, + "digi": { + "comment": "LoRa_APRS_Digirepeater", + "latitude": 0.0000000, + "longitude": 0.0000000 + }, + "aprs_is": { + "passcode": "23201", + "server": "soam.aprs2.net", + "port": 14580, + "reportingDistance": 30 + }, + "lora": { + "iGateFreq": 433775000, + "digirepeaterTxFreq": 433775000, + "digirepeaterRxFreq": 433900000, + "spreadingFactor": 12, + "signalBandwidth": 125000, + "codingRate4": 5, + "power": 20 + }, + "display": { + "alwaysOn": true, + "timeout": 4, + "turn180" : false + }, + "syslog": { + "active": false, + "server": "192.168.0.100", + "port": 514 + }, + "bme": { + "active": false + }, + "ota": { + "username":"richon", + "password": "totoro" + }, + "other": { + "beaconInterval": 15, + "rememberStationTime": 30, + "sendBatteryVoltage": false + } } \ No newline at end of file diff --git a/data/index3.html b/data/index3.html new file mode 100644 index 0000000..9511b6a --- /dev/null +++ b/data/index3.html @@ -0,0 +1,854 @@ + + + + +Settings APRS LoRa + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index 100280a..8da6041 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -20,7 +20,7 @@ Configuration Config; WiFiClient espClient; -String versionDate = "2023.08.29"; +String versionDate = "2023.08.31"; int myWiFiAPIndex = 0; int myWiFiAPSize = Config.wifiAPs.size(); WiFi_AP *currentWiFi = &Config.wifiAPs[myWiFiAPIndex]; diff --git a/src/utils.cpp b/src/utils.cpp index c268700..45ee082 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -276,6 +276,10 @@ void startServer() { request->send(SPIFFS, "/index2.html", "text/html"); }); + server.on("/test3", HTTP_GET, [](AsyncWebServerRequest *request) { + request->send(SPIFFS, "/index3.html", "text/html"); + }); + server.on("/testx", HTTP_GET, [](AsyncWebServerRequest *request) { request->send(SPIFFS, "/testx.html", "text/html");//"application/json"); });