1. 新增AI对话LVGL界面(ai_chat_ui),支持emoji图片 + 状态文本 + 聊天消息 2. 新增7个emoji表情资源(64×64 PNG C数组):neutral/happy/sad/angry/crying/funny/laughing 3. 新增阿里巴巴普惠体20px 4bpp中文字体(GB2312字符集) 4. 利用火山RTC会话状态(VOLC_MSG_CONV_STATUS)驱动emoji切换: - LISTENING→happy, THINKING→neutral, ANSWERING→laughing - INTERRUPTED→funny, ANSWER_FINISH→happy 5. 设备状态emoji映射:Listening→happy, Speaking→laughing, Dialog→happy 6. 配网模式显示happy emoji 7. 分区优化:model 3MB→64KB,OTA 5MB→6.5MB 8. 编译优化:-Og→-Os,移除SimSun CJK字体 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
348 B
C++
15 lines
348 B
C++
#ifndef AI_CHAT_DISPLAY_H
|
|
#define AI_CHAT_DISPLAY_H
|
|
|
|
#include "display.h"
|
|
|
|
class AiChatDisplay : public Display {
|
|
public:
|
|
AiChatDisplay();
|
|
void SetStatus(const char* status) override;
|
|
void SetEmotion(const char* emotion) override;
|
|
void SetChatMessage(const char* role, const char* content) override;
|
|
};
|
|
|
|
#endif // AI_CHAT_DISPLAY_H
|