工具/软件:
显示成功响应的 OTA API。 库中无错误。
Hash verification succeeded.
Total archive file bytes 527132.
OtaArchive_RunParseTar: 2 files that are mentioned in the ota.cmd were saved
OtaArchive_RunParseTar: Downloading File Completed - Size=521500
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: skip block align RecvBufLen=571, SkipAlignSize=228
substring =>
+QIRD: 1097
BufLen = 1097, tempHTTPRxBuff =
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: End of archive...
_SaveOtaVersionFile: save version file also in the bundle, version=20250408142802
OTA_run: ---- Download file completed /STRTD1/20250408142802_CC3220SF_ota.tar
\
HttpClient_SendReq, pHttpReqBuf=>
POST /ota/api/DeviceStats/OTAStatus HTTP/1.1
Host: apps.orxa.io
Authorization:
Content-Type: application/json
Content-Length: 159
{ "deviceId": "STRTD1", "InstallSuccess": 1, "oTA": "{Type: 3, status : Success, error: 3}", "oTALogs": "{ start counter: 536887296, access errors: 60209 }"}
strlen((const char *)pHttpReqBuf) =>302
BufLen = 535, tempHTTPRxBuff =
HTTP/1.1 200 OK
Server: nginx/1.26.3
Date: Tue, 08 Apr 2025 09:27:32 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 309
Connection: keep-alive
Expires: -1
Pragma: no-cache
Cache-Control: no-cache
[{"ProductId":65,"DeviceId":"STRTD1","PowerOnTime":null,"ResetCause":null,"Hardware":null,"SDCard":null,"Firmware":null,"OTA":"{Type: 3, status : Success, error: 3}","OTALogs":"{ start counter: 536887296, access errors: 60209 }","CreatedBy":"OTAStatus","CreatedOn":"2025-04-08T14:57:32","InstallSuccess":1}]hÉ
OtaRunStep: status from Ota_run: Download done, status = 104
OtaImageTestingAndReset: download done
OtaImageTestingAndReset: call sl_Stop to move the bundle totesting state
OtaImageTestingAndReset: reset the platform to test the newimage...
但更新后的固件未执行、它没有多次更改、确认/检查。