From cc363dc65af5e0a1c34e1f8196fef564a3bde0bf Mon Sep 17 00:00:00 2001 From: "DESKTOP-PUHFO60\\dsx2016" Date: Fri, 23 Oct 2026 15:55:20 +0800 Subject: [PATCH] Add cydweb HTML UI preview for catalog cards. Co-authored-by: Cursor --- firmware/cyd/media/preview.html | 47 +++++++++++++++++++++++++++++++++ firmware/cyd/meta.json | 11 +++++++- 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 firmware/cyd/media/preview.html diff --git a/firmware/cyd/media/preview.html b/firmware/cyd/media/preview.html new file mode 100644 index 0000000..f11bd72 --- /dev/null +++ b/firmware/cyd/media/preview.html @@ -0,0 +1,47 @@ + + + + +CYD BLE + + + +
+ +
CYD BLE
+
+
State Advertising
+
Name CYD-BLE
+
Addr AA:BB:CC:DD:EE:FF
+
Peer -
+
Echo ON
+
App: nRF Connect / Serial BT
+
+
Waiting for phone...
TX: Hello from CYD
+
+ + + + +
+ +
+ + diff --git a/firmware/cyd/meta.json b/firmware/cyd/meta.json index 973b8e0..d24b3a0 100644 --- a/firmware/cyd/meta.json +++ b/firmware/cyd/meta.json @@ -3,5 +3,14 @@ "name": "CYD BLE", "summary": "NimBLE Nordic UART peripheral with LVGL status UI", "description": "Advertise as CYD-BLE with Nordic UART Service. Touch UI: status, scrollable RX/TX log above button bar (Adv / Echo / Ping / Clear). Works with nRF Connect and Serial Bluetooth Terminal.", - "tags": ["ble", "nimble", "nus", "uart", "touch"] + "tags": [ + "ble", + "nimble", + "nus", + "uart", + "touch" + ], + "media": { + "preview": "media/preview.html" + } }