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>
25 lines
527 B
C
25 lines
527 B
C
#ifndef _AI_CHAT_UI_H_
|
||
#define _AI_CHAT_UI_H_
|
||
|
||
#ifdef __cplusplus
|
||
extern "C" {
|
||
#endif
|
||
|
||
// 创建并加载 AI 对话屏幕
|
||
void ai_chat_screen_init(void);
|
||
|
||
// 更新状态文本(如 "Listening...", "Speaking...")
|
||
void ai_chat_set_status(const char* status);
|
||
|
||
// 更新情绪指示(改变指示圆点颜色)
|
||
void ai_chat_set_emotion(const char* emotion);
|
||
|
||
// 更新聊天消息(预留接口)
|
||
void ai_chat_set_chat_message(const char* role, const char* content);
|
||
|
||
#ifdef __cplusplus
|
||
}
|
||
#endif
|
||
|
||
#endif // _AI_CHAT_UI_H_
|