✨ feat(display): 完成小智式牛牛屏幕适配 - #226
Draft
ZhaoXingPeng wants to merge 14 commits into
Draft
Conversation
为本地唤醒、播报结束和待机恢复增加脱敏生命周期事件,验收采集器现在会拒绝乱序事件和失败事件。\n\n主机测试与 ESP32-S3 Profile 构建用于验证证据字段不影响运行链路。
移除汇报文档、过程文档入口和与 Linx 语音链路无关的探针变更,仅保留功能代码、必要测试与实际 Profile 依赖。
提高有界事件队列容量并提升事件 worker 优先级,避免真人语音突发帧使 Linx Transport 溢出并误报 Provider 失败。
- codec 新增 goodbye 与 llm 消息类型,服务端会话告别与表情消息不再触发 provider_error - WebSocket 分块重组支持 ESP-IDF 对超长单帧的分块投递,TTS 音频帧可完整拼接播放 - runtime 增加脱敏诊断日志 PROVIDER_ERROR_DETAIL,便于板端定位错误来源 - 补充 linx codec/provider 与分块重组契约测试
- OLED 显示牛头表情(neutral/happy/sad/thinking/surprised/speaking/angry)与 23 个中文字形 - 空闲/聆听/思考/播报/停止/重连/错误状态全部中文化 - 唤醒反馈“收到!”、结束反馈“牛牛走了!” - 唤醒后 12 秒无有效输入自动结束聆听回待机,避免服务端闲聊回复 - 修复 voice_audio_sink 任务栈溢出(3072→16384),消除空闲时崩溃重启
- 脸型从圆角矩形改为上宽下窄的倒梯形 - 牛角改为向两侧上弯的三角形态,更贴近真实牛头 - 7 个表情(neutral/happy/sad/thinking/surprised/speaking/angry)同步重绘
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
ZhaoXingPeng
force-pushed
the
codex/esp-sparkbot-display-design
branch
2 times, most recently
from
August 11, 2026 18:17
3f00aa8 to
dc98b21
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
结论
本 PR 提交小智式板端交互与牛牛状态屏代码,补齐唤醒、聆听、思考、说话、错误和待机状态的显示闭环。请 Reviewer 重点检查显示适配器与运行时状态边界,以及牛头点阵的可读性。当前作为 Draft 提交,后续继续完善设计文档和实板显示细节。
Refs #222
变更
明确未包含:
架构与兼容
显示逻辑通过
voicelife_display_esp适配器接入运行时,核心语音、MCP 和服务端协议边界不变;不改变feat/board-xiaozhi-ux分支。验证
./scripts/run_pre_submit_checks.shesp32s3-dev、esp32s3-lichuang-audio-probe、esp32s3-voicelife-pcb-pcmProfile 检查通过证据:本地提交前门禁完整输出;PostgreSQL 契约测试因本机未启动 PostgreSQL 按门禁规则跳过。
TDD 记录
风险与回退
feat/board-xiaozhi-ux分支。Review 清单