2025.11.17出货烧录版本,版本号为1.2.3

This commit is contained in:
kkkjtr 2025-11-17 12:45:18 +08:00
parent a71b3e73cc
commit 7599a821d1
7 changed files with 6 additions and 4 deletions

View File

@ -155,7 +155,7 @@ void my_appimg_enter(char *param){
}
local_tts_init();
local_tts_mute(0);// 取消静音
local_tts_volume(40); // 设置音量为55
local_tts_volume(100); // 设置音量为55
// local_tts_set(7, 7, CM_LOCAL_TTS_DIGIT_AUTO);
local_tts_text_play("已开机",0,0);

View File

@ -168,6 +168,8 @@ static int jt808_BodyParse(void *Prsmsg_body, PrsResult_t *Result){
// 启动升级处理流程(同步执行)
// start_upgrade_process(&Result->big_upgrade_info);
local_tts_text_play("软件升级流程开始,请勿断电",0,0);
local_tts_text_play("升级完成后会自动重启",0,0);
const char *url = Result->term_param_item->big_upgrade_info.file_path;
if(!is_valid_url(url)) {
JT808_DEBUG("Invalid URL: %s\n", url);
@ -216,7 +218,7 @@ static int jt808_BodyParse(void *Prsmsg_body, PrsResult_t *Result){
break;
}
osDelay(200/5);
osDelay(2000/5);
cm_fota_exec_upgrade();
}
@ -248,13 +250,13 @@ static int jt808_BodyParse(void *Prsmsg_body, PrsResult_t *Result){
local_tts_set(speed, volume, mode);
}else{
JT808_DEBUG("error speed or volume or mode\r\n");
local_tts_volume(50); // 设置音量大小
local_tts_volume(100); // 设置音量大小
local_tts_set(6, 7, CM_LOCAL_TTS_DIGIT_AUTO);
Result->Rsp_result = Msg_invalid;//消息有误
}
}else{
JT808_DEBUG("error speed or volume or mode\r\n");
local_tts_volume(80); // 设置音量大小
local_tts_volume(100); // 设置音量大小
local_tts_set(7, 15, CM_LOCAL_TTS_DIGIT_AUTO);
Result->Rsp_result = Msg_invalid;//消息有误
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.