From 90ef654c80fde0522f29351882ad3b72f369d7aa Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 25 Aug 2025 23:38:53 -0700 Subject: [PATCH] basic commit --- data/system/animations.json | 22 + data/system/wifi.json | 1 + data/{ => www}/ata-boothifier-upgradeV3.html | 50 +- include/ATALights.h | 3 +- include/AppUpgrade.h | 10 +- include/ColorPalettes.h | 52 +- src/ATALights.cpp | 57 +- src/Animations.cpp | 57 ++ src/AppUpgrade.cpp | 142 ++-- src/BLE_SP110E.cpp | 85 +++ src/BleServer.cpp | 87 +++ src/ColorPalettes.cpp | 5 + src/main.cpp | 21 +- src/my_wifi.cpp | 114 ++-- temporary/AppUpgrade orig.cpp | 673 +++++++++++++++++++ 15 files changed, 1194 insertions(+), 185 deletions(-) create mode 100644 data/system/animations.json rename data/{ => www}/ata-boothifier-upgradeV3.html (90%) create mode 100644 temporary/AppUpgrade orig.cpp diff --git a/data/system/animations.json b/data/system/animations.json new file mode 100644 index 0000000..ab954fd --- /dev/null +++ b/data/system/animations.json @@ -0,0 +1,22 @@ +{ + "comets":{ + "size": 0.2, + "fade-factor1":64, + "max-comets":16 + }, + "fire":{ + "cooling":66, + "sparking":62, + "brightness":255 + }, + "custom-color-pack1": { + "color1": "#FF0000", + "color2": "#00FF00", + "color3": "#0000FF" + }, + "custom-color-pack2": { + "color1": "#FFFF00", + "color2": "#FF00FF", + "color3": "#00FFFF" + } +} \ No newline at end of file diff --git a/data/system/wifi.json b/data/system/wifi.json index c7c7cd2..da871e9 100644 --- a/data/system/wifi.json +++ b/data/system/wifi.json @@ -8,6 +8,7 @@ "wifi-ap":{ "ssid": "ATA_AP", "append-id": true, + "user": "admin", "pass": "12345678", "ip": "192.168.10.1", "gateway": "192.168.10.1", diff --git a/data/ata-boothifier-upgradeV3.html b/data/www/ata-boothifier-upgradeV3.html similarity index 90% rename from data/ata-boothifier-upgradeV3.html rename to data/www/ata-boothifier-upgradeV3.html index 8f500d2..642085d 100644 --- a/data/ata-boothifier-upgradeV3.html +++ b/data/www/ata-boothifier-upgradeV3.html @@ -133,14 +133,28 @@ font-size: 14px; } } + + /* Tabs */ + .tab-bar { display:flex; gap:8px; justify-content:center; margin:12px 0 16px; flex-wrap:wrap; } + .tab-bar button { max-width:none; flex:0 0 auto; background:#6c757d; } + .tab-bar button.active { background:#007bff; } + .tab-panel { display:none; } + .tab-panel.active { display:block; }

ATA Firmware Update

- -
+ +
+ + +
+ +
+ +
@@ -183,21 +197,22 @@
+
- -
+
+

WiFi Connection

+
- - + +
-
- - -
- -
+
+
+ +
+