我搜索云 OTA 问题、发现 TI 有 Dropbox OTA 损坏问题的公告。
我也发现了 Github 的类似问题。 TI 可以确认此问题吗? 这是否也会得到修复?
e2e.ti.com/.../faq-simplelink-cc32xx-sdk-important-notice-for-customers-using-dropbox-for-ota-updates
当我今天尝试执行 OTA 代码时、 它会从 api.github.com 返回以下错误。
OTA_RUN:调用 CdnClient_ConnectServer OTA server=api.github.com
CdnClient_ConnectServer:HttpClient_Connect api.github.com
[sock error]套接字4上收到事件
[sock error]使用了错误的 CA 来验证对等项。
[sock error]使用以下根 CA。
[sock error] DigiCert 全局根 CA
[SOCK_EVENT]-意外事件[20x]
然后、我将 DigiCert 全局根 CA 添加到代码中、并替换高保证 CA
它从 raw.githubusercontent.com 返回以下错误
//#define OTA_SERVER_ROOT_CA_CERT "DigCert_High_Assurance_CA.der" #define OTA_SERVER_ROOT_CA_CERT "DigiCertGlobalRootCA.der"
OTA_RUN:调用 CdnClient_ConnectFileServer、URL = raw.githubusercontent.com/.../20210308103838_CC3220SF_GW2.0.tar
HttpClient_Connect:IP_ADDR=185.199.111.133
[sock error]套接字13上收到事件
[sock error]使用了错误的 CA 来验证对等项。
[sock error]使用以下根 CA。
[sock error] DigiCert 高保证 EV 根 CA
[SOCK_EVENT]-意外事件[20x]
