feat(brand): captive portal copy from pictureFrame to WeVisto

Captive portal HTML title (<title>WeVisto Setup</title>) and the /log
diagnostic page header now use the public brand name. Recipient first
sees this when their phone joins the AP and the captive portal opens.

The AP SSID itself (PictureFrame-XXXX) is intentionally left alone —
changing it would force a coordinated reflash + reprint-of-setup-
instructions cycle and risk confusing recipients mid-setup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 21:51:49 -04:00
parent 91cbe851a3
commit 3358ec86ad
+2 -2
View File
@@ -60,7 +60,7 @@ static void show_setup_qr(const String& mac) {
static const char PORTAL_HTML[] PROGMEM = R"html(
<!DOCTYPE html><html lang="en">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>pictureFrame Setup</title>
<title>WeVisto Setup</title>
<style>
body{font-family:system-ui,sans-serif;display:flex;align-items:center;justify-content:center;
min-height:100vh;margin:0;background:#fdf6ee;color:#3a2e22}
@@ -168,7 +168,7 @@ static void handle_captive() {
// User browses to http://192.168.4.1/log after joining the AP. Tells
// us whether iOS hit us at all and which CNA paths it tried.
static void handle_log() {
String body = "pictureFrame provisioning log\n";
String body = "WeVisto provisioning log\n";
body += "uptime=" + String(millis()) + "ms entries=" + String(g_log_count) + "/" + String(LOG_CAP) + "\n\n";
size_t start = (g_log_count < LOG_CAP) ? 0 : g_log_head;
for (size_t i = 0; i < g_log_count; i++) {