Просмотр исходного кода

change: libfota,默认超时改到3分组

Wendal Chen 1 месяц назад
Родитель
Сommit
0008c8e4f7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      script/libs/libfota.lua

+ 1 - 1
script/libs/libfota.lua

@@ -138,7 +138,7 @@ fota升级
 @return nil 无返回值
 ]]
 function libfota.request(cbFnc,ota_url,storge_location, len, param1,ota_port,libfota_timeout,server_cert, client_cert, client_key, client_password, show_otaurl)
-    sys.taskInit(fota_task, cbFnc,storge_location, len, param1,ota_url, ota_port,libfota_timeout or 30000,server_cert, client_cert, client_key, client_password, show_otaurl)
+    sys.taskInit(fota_task, cbFnc,storge_location, len, param1,ota_url, ota_port,libfota_timeout or 180000,server_cert, client_cert, client_key, client_password, show_otaurl)
 end
 
 return libfota