diff --git a/code/components/webserver_softap/softAP.cpp b/code/components/webserver_softap/softAP.cpp index 1ec1aaf3a..8fc7a7737 100644 --- a/code/components/webserver_softap/softAP.cpp +++ b/code/components/webserver_softap/softAP.cpp @@ -97,7 +97,7 @@ esp_err_t main_handler_AP(httpd_req_t *req) if (!SDCardContentExisting) { message = "

2. Upload ZIP package to flash SD card content

"; message += "After initial flashing of the firmware the the device sd-card is still empty.
"; - message += "Please upload \"remote_setup.zip\", which contains an full inital configuration.

"; + message += "Please upload \"AI-on-the-edge-device__{Board Type}__*.zip\", which installs the SD card content.

"; message += "

"; message += "

"; message += "The upload might take up to 60s. After a succesfull upload the page will be reloaded."; @@ -109,7 +109,7 @@ esp_err_t main_handler_AP(httpd_req_t *req) message += "xhttp.onreadystatechange = function() {if (xhttp.readyState == 4) {if (xhttp.status == 200) {location.reload();}}};"; message += "let filePath = document.getElementById(\"newfile\").value.split(/[\\\\/]/).pop();"; message += "let file = document.getElementById(\"newfile\").files[0];"; - message += "if (!file.name.includes(\"AI-on-the-edge-device__\")){if (!confirm(\"The zip file name should contain 'AI-on-the-edge-device__...'. "; + message += "if (!file.name.includes(\"AI-on-the-edge-device__\")){if (!confirm(\"The zip file name should contain 'AI-on-the-edge-device__'. "; message += "Are you sure that you have downloaded the correct file?\"))return;};"; message += "let upload_path = \"/upload/firmware/\" + filePath; xhttp.open(\"POST\", upload_path, true); xhttp.send(file);"; message += "document.getElementById(\"doUpdate\").disabled = true;}"; diff --git a/sd-card/html/setup_explain_7_abort.html b/sd-card/html/setup_explain_7_abort.html index 8dc435bce..f741b289f 100644 --- a/sd-card/html/setup_explain_7_abort.html +++ b/sd-card/html/setup_explain_7_abort.html @@ -48,7 +48,7 @@

Initial setup aborted!

function reboot() { - firework.launch('Setup completed', 'success', 5000); + firework.launch('Initial setup aborted', 'warning', 5000); jsonConfig = getConfigFromStorage(); // Get config jsonConfig.operationmode.opmode = 1; @@ -71,7 +71,7 @@

Initial setup aborted!

function abortSetup() { - if (confirm("Do you want to abort the setup mode and switch to regular web interface?")) + if (confirm("Do you want to abort the setup and switch to regular web interface?")) loadConfig().then(() => reboot()); }