添加tcp心跳

添加升级小板程序、方案、jwt文件的进度条命令
This commit is contained in:
ranchuan
2023-12-29 09:41:37 +08:00
parent 8e7f3347d9
commit 92f3ebbe33
16 changed files with 389 additions and 55 deletions

View File

@@ -50,7 +50,7 @@ protected:
timeout_retry();
return 0;
}
// 发送操作结束信号
// 发送操作结束信号,ack=0成功,1失败
int end(int ack,myarray data){
emit end_signal(addr,ack,data);
return 0;
@@ -228,7 +228,7 @@ protected:
timeout_start_retry_cb(5);
return 0;
}
// 发送操作结束信号
// 发送操作结束信号,ack=0成功,1失败
int end(int ack,slave_data data){
emit end_signal(0x1f,ack,data);
if(end_cb!=nullptr){