Commit Graph
60 Commits
Author SHA1 Message Date
chenjintao f6408be05b feat(lcd): add compressed GFX idle expression animation
Integrate esp_emote_gfx for idle rendering with symmetric mesh-based blinking and LCD DMA flush synchronization.

Store cropped face layers with lossless RLE, decode once into PSRAM, and retain the PNG backend for other expressions. Include source layers and asset generation tools.
2026-10-09 14:19:16 +08:00
chenjintao 7bc9a3dc76 feat(assets): embed LCD and audio resources in OTA app 2026-10-08 16:58:33 +08:00
chenjintao 3160a33f50 refactor(logging): remove remote logging subsystem 2026-10-08 16:08:41 +08:00
chenjintao 5d849033c3 fix(audio): lower raw opus bitrate to 16 kbps 2026-10-08 11:26:03 +08:00
chenjintao 9fd01bb61b docs: 补充核心分层中文注释 2026-09-29 18:18:44 +08:00
chenjintao 3912843869 fix(platform): prevent LCD artifacts during startup 2026-09-01 14:20:45 +08:00
chenjintao f92915057a feat(lcd): add boundary performance test 2026-08-26 14:49:41 +08:00
chenjintao 549f495800 perf(assets): optimize LCD PNG storage 2026-08-26 10:29:31 +08:00
chenjintao 140e90447c feat(factory-cli): add Wi-Fi credential management commands 2026-08-25 14:09:25 +08:00
chenjintao f33ad70c16 fix(time): apply timezone before lcd startup 2026-08-25 09:55:39 +08:00
chenjintao ae27d5bbaa feat(wifi): retain multiple network credentials 2026-08-24 16:16:16 +08:00
chenjintao 23f4969404 feat(power): add controlled low-battery shutdown 2026-08-24 15:06:02 +08:00
chenjintao 96e975d84c feat(lcd): display synchronized wall clock 2026-08-24 10:57:23 +08:00
chenjintao cb203a74f4 feat(control_plane): play prompt before light standby 2026-08-21 15:13:23 +08:00
chenjintao e773ebc458 feat(control_plane): reduce light standby runtime power 2026-08-21 14:24:01 +08:00
chenjintao baad9dcfa0 feat(control_plane): apply light standby hardware policy 2026-08-21 13:55:32 +08:00
chenjintao 988dc924b9 feat(platform): add PWM backlight brightness control 2026-08-20 18:21:06 +08:00
chenjintao 93f346a897 fix(platform): initialize gpio isr service once 2026-08-20 10:32:12 +08:00
chenjintao e0dbcdd273 feat(input): play sound for muyu strike 2026-08-18 14:17:02 +08:00
chenjintao 5070547b4d feat(ota): show update expression during firmware install 2026-08-18 12:08:48 +08:00
chenjintao 8f8254b397 feat(power): add battery monitoring and status overlays 2026-08-18 11:53:14 +08:00
chenjintao 5a18036ec6 feat(ota): add authenticated firmware update workflow
- report firmware versions at startup and every six hours with a fresh device JWT
- support optional HMAC headers and retry once after authorization rejection
- handle forced and confirmed updates through managed OTA state
- stream images to the inactive partition and verify size, SHA-256, and format
- coordinate OTA HTTPS activity with voice teardown and restoration
- confirm pending images and expose configuration, status, and integration docs
2026-08-14 15:25:34 +08:00
chenjintao 0cfb10252c fix(multimodal): harden playback and client lifecycle handling
- retry the server connection prompt after transient playback failures
- serialize multimodal client and session start-stop operations
- tag downstream responses to ignore stale packets and playback events
- complete bounded teardown and clean callbacks after partial startup
2026-08-14 15:24:29 +08:00
chenjintao 841fe32c49 feat(provisioning): add mini-program BLE Wi-Fi setup 2026-08-13 15:44:18 +08:00
chenjintao 5711c26a9a fix(network): recover stale Wi-Fi after first HTTPS failure 2026-08-13 09:36:44 +08:00
chenjintao 1c32d9f0e7 feat(runtime): add diagnostic and network recovery controls 2026-08-12 16:32:40 +08:00
chenjintao a94df9545d fix(multimodal): recover stalled downstream sessions 2026-08-12 16:32:25 +08:00
chenjintao 273550b28b fix(multimodal): reconnect websocket with fresh auth 2026-08-12 10:30:47 +08:00
chenjintao 7a4699ea68 feat(voice): gate local wake prompt on network readiness 2026-08-12 09:47:55 +08:00
chenjintao 004400fee7 fix(lcd): tune asset playback durations 2026-08-11 16:58:27 +08:00
chenjintao 83432d34a3 feat(platform): add temporary spin placeholder asset 2026-08-11 16:40:17 +08:00
chenjintao e5d60ca44b fix(platform): run LCD preheat on render task 2026-08-11 16:29:27 +08:00
chenjintao 0f47e6b585 fix(platform): register wealth direction LCD assets 2026-08-11 16:12:39 +08:00
chenjintao 3ce9b38098 fix(multimodal): stabilize downstream audio playback
- add configurable prebuffer and adaptive rebuffer for packet jitter
- mute stalled output, auto-clear I2S DMA, and abort inactive playback after 3 seconds
- discard stale-generation packets and add optional downstream diagnostics
2026-08-11 15:25:26 +08:00
chenjintao 617255bdab feat(voice): add local wake response prompt
Enable the packaged wake response prompt by default and add the MP3-to-device-Opus conversion utility.
2026-08-10 17:40:12 +08:00
chenjintao e5c1564130 feat(voice): add on-device Miao Zhang Gui wake word
Add an optional local wake response prompt configuration. The prompt asset is intentionally not included yet.
2026-08-10 16:54:42 +08:00
chenjintao d9660164a6 feat(platform): migrate LCD assets to PNG and expand flash partitions 2026-08-10 16:04:23 +08:00
wangtianyang d5409ea4e3 feat: support ESP32-S3 new board bring-up 2026-08-03 14:06:06 +08:00
CSBOOK\44744 bc74db61a9 电机最大旋转角度限定100度
财位指令旋转电机以后返回原位
2026-07-01 15:54:13 +08:00
CSBOOK\44744 5d7c3f91d4 增加了语音抽签控制屏幕显示
增加了校准和财位控制电机旋转
2026-07-01 15:07:59 +08:00
CSBOOK\44744 21e5d43766 修复了SW2 双击后抖动,
icon 文件改为每帧只加载一次,整帧绘制期间复用,不再每 8 行重复读取。
2026-06-28 19:16:17 +08:00
CSBOOK\44744 4c6bb66f7c 优化了启动顺序和 storage使用不规范问题 2026-06-28 18:57:02 +08:00
CSBOOK\44744 104c3a10e0 增加了双击SW2显示五行
Flash资源已用完
2026-06-28 18:32:50 +08:00
CSBOOK\44744 984787d736 增加单击SW2抽签功能 2026-06-28 18:14:21 +08:00
CSBOOK\44744 4cc2089192 LCD图片资源放入flash 2026-06-28 17:54:18 +08:00
CSBOOK\44744 b06a4bc2bf 优化了NVS使用,改为/platform_storage.c统一处理 2026-06-28 17:28:38 +08:00
CSBOOK\44744 e15f9e9f23 - 启动自检日志:远程日志启动后记录 endpoint、目录、待上传文件数、队列配置、coredump 状态。
- 上传状态统计:记录成功/失败次数、最后 HTTP 状态、最后错误码、最后上传时间、最后成功时间。
  - 独立日志 Flash 分区:新增 logfs LittleFS 分区 512KB,日志不再占用音频资源分区;远程日志文件上限为 24 * 16KB =
    384KB。

  - 本地诊断 factory CLI:
      - log status
      - log flush
      - log clear

  - Coredump 支持:启用 flash coredump,新增 64KB coredump 分区;当前会上报 coredump 存在状态、地址、大小、panic
    reason 和设备状态快照。

  - 上传附带设备状态快照:reset reason、固件版本、project name、heap、任务数、多模态连接/活动状态、coredump 状态。
2026-06-27 22:55:43 +08:00
CSBOOK\44744 87ba891a8d 远程日志系统基本运行成功 2026-06-27 22:12:28 +08:00
CSBOOK\44744 caa4a7eded 修复了WS连接稳定性问题 2026-06-27 20:29:09 +08:00
CSBOOK\44744 b829cd8ebc 修复了第一次双击和对话没有反应问题 2026-06-27 16:23:21 +08:00