This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] LAUNCHXL-CC3235SF:Azure SDK simplesample_http:HttpClient_connect 失败、ret=-688

Guru**** 2484615 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1256020/launchxl-cc3235sf-azure-sdk-simplesample_http-httpclient_connect-failed-ret--688

器件型号:LAUNCHXL-CC3235SF

从 Azure SDK 4.10运行 simplesample_http 示例时遇到问题、并具有以下日志输出:

Starting the simplesample_http example
startSNTP: Current time: Thu Aug  3 14:35:12 2023


CC32XX has connected to AP and acquired an IP address.

IP Address: 192.168.112.144

Flashing certificate file ...
successfully wrote file /cert/ms.pem to flash
IoTHubClient accepted the message for delivery
Error: File:../../pal/src/httpapi_sl.c Func:HTTPAPI_ExecuteRequest Line:284
HTTPClient_connect failed, ret=-688
Error: File:../../sdk/c-utility/src/httpapiex.c Func:HTTPAPIEX_ExecuteRequest Line:526
unable to recover sending to a working state
Error: File:../../sdk/iothub_client/src/iothubtransporthttp.c Func:DoEvent Line:1806
unable to HTTPAPIEX_SAS_ExecuteRequest
Message Id: 1 Received.
Result Call Back Called! Result is: IOTHUB_CLIENT_CONFIRMATION_ERROR

错误代码-688指出了证书处理方面的问题、但我们没有找到任何有关可能必须在设备上安装哪些证书以及在何处安装这些证书的信息。

有人能提供更多信息或说明如何运行示例的文档链接吗?

谢谢!