Improve the speed of 4G transmission bin package

This commit is contained in:
wgzAIIT
2023-05-30 20:11:43 +08:00
parent 788eb53f39
commit c6af847c73
3 changed files with 5 additions and 1 deletions
@@ -610,7 +610,8 @@ send_ready_again:
goto send_ready_again;
}
printf("start receive ota file.\n");
/* step2: start receive bin file */
/* step2: start receive bin file,first wait for 5s*/
PrivTaskDelay(5000);
ret = ota_data_recv(adapter);
if (0 != ret)
{
@@ -376,6 +376,7 @@ void* server_thread(void* p)
printf("pthread = %d\n",fd);
sleep(5);
ota_start_signal(fd);
sleep(5);
while(1)
{
ret = ota_file_send(fd);