mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-06 05:23:52 +01:00
little updates on the OTA welcome
This commit is contained in:
parent
d740d214b0
commit
f99627e373
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"callsign": "CD2RXU-10",
|
||||
"stationMode": 4,
|
||||
"stationMode": 2,
|
||||
"iGateComment": "LoRa_APRS_iGate",
|
||||
"wifi": {
|
||||
"AP": [
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ void typeOfPacket(String packet) {
|
|||
void startOTAServer() {
|
||||
if (stationMode==1 || stationMode==2) {
|
||||
server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
request->send(200, "text/plain", "Hi This is your Richonguzman / CD2RXU LoRa iGate.\nIf you want tu update your firmware please go to: {iGate-IP-Adress}/update");
|
||||
request->send(200, "text/plain", "Hi, this is your (Richonguzman/CD2RXU) LoRa iGate.\nIf you want tu update your firmware please go to: http://" + getLocalIP().substring(getLocalIP().indexOf(":")+1) + "/update");
|
||||
});
|
||||
AsyncElegantOTA.begin(&server);
|
||||
server.begin();
|
||||
|
|
|
|||
Loading…
Reference in a new issue