diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index 3385bcff0..26d3951b0 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -1101,12 +1101,12 @@ int http_fn_cfg_ping(http_request_t* request) { http_html_start(request, "Set Watchdog"); bChanged = 0; poststr(request, "

Ping watchdog (backup reconnect mechanism)

"); - poststr(request, "

By default, all OpenBeken devices automatically tries to reconnect to WiFi when a connection is lost."); + poststr(request, "

By default, all OpenBeken devices automatically try to reconnect to WiFi when a connection is lost."); poststr(request, " I have tested the reconnect mechanism many times by restarting my router and it always worked reliably."); - poststr(request, " However, according to some reports, there are still some edge cases when a device fails to reconnect to WIFi."); + poststr(request, " However, according to some reports, there are still some edge cases where a device fails to reconnect to WiFi."); poststr(request, " This is why this mechanism has been added.

"); - poststr(request, "

This mechanism keeps pinging certain host and reconnects to WiFi if it doesn't respond at all for a certain amount of seconds.

"); - poststr(request, "

USAGE: For a host, choose the main address of your router and make sure it responds to a pings. Interval is 1 second or so, timeout can be set by user, to eg. 60 sec

"); + poststr(request, "

This mechanism continuously pings a specified host and reconnects to WiFi if it doesn't respond for the specified number of seconds.

"); + poststr(request, "

USAGE: For the host, choose the main address of your router and ensure it responds to pings. The interval is around 1 second, and the timeout can be set by the user, for example, to 60 seconds.

"); if (http_getArg(request->url, "host", tmpA, sizeof(tmpA))) { CFG_SetPingHost(tmpA); poststr_h4(request, "New ping host set!"); @@ -1232,7 +1232,7 @@ int http_fn_cfg_wifi(http_request_t* request) { poststr_h4(request, "Use this to disconnect from your WiFi"); poststr(request, "
\ \ -\ +\
"); poststr_h2(request, "Use this to connect to your WiFi"); add_label_text_field(request, "SSID", "ssid", CFG_GetWiFiSSID(), "
"); @@ -1544,8 +1544,8 @@ int http_fn_cmd_tool(http_request_t* request) { http_html_start(request, "Command tool"); poststr_h4(request, "Command Tool"); poststr(request, "This is a basic command line.
"); - poststr(request, "Please consider using 'Web Application' console with more options and real time log view.
"); - poststr(request, "Remember that some commands are added after a restart when a driver is activated...
"); + poststr(request, "Please consider using the 'Web Application' console for more options and real-time log viewing.
"); + poststr(request, "Remember that some commands are added after a restart when a driver is activated.
"); commandLen = http_getArg(request->url, "cmd", tmpA, sizeof(tmpA)); addLogAdv(LOG_ERROR, LOG_FEATURE_HTTP, "http_fn_cmd_tool: len %i",commandLen); @@ -1588,7 +1588,7 @@ int http_fn_startup_command(http_request_t* request) { http_html_start(request, "Set startup command"); poststr_h4(request, "Set/Change/Clear startup command line"); poststr(request, "

Startup command is a shorter, smaller alternative to LittleFS autoexec.bat. " - "The startup commands are ran at device startup. " + "The startup commands are run at device startup. " "You can use them to init peripherals and drivers, like BL0942 energy sensor. " "Use backlog cmd1; cmd2; cmd3; etc to enter multiple commands

"); @@ -2710,7 +2710,7 @@ int http_fn_cfg_generic(http_request_t* request) { poststr(request, ""); poststr(request, SUBMIT_AND_END_FORM); - add_label_numeric_field(request, "Uptime seconds required to mark boot as ok", "boot_ok_delay", + add_label_numeric_field(request, "Uptime seconds required to mark boot as OK", "boot_ok_delay", CFG_GetBootOkSeconds(), ""); poststr(request, "
"); @@ -2728,7 +2728,7 @@ int http_fn_cfg_startup(http_request_t* request) { http_setup(request, httpMimeTypeHTML); http_html_start(request, "Config startup"); poststr_h4(request, "Here you can set pin start values"); - poststr(request, "