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.

[参考译文] CCS:HTTPS 失败

Guru**** 2487165 points
Other Parts Discussed in Thread: CC3100

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/733883/ccs-https-fails

主题中讨论的其他器件:CC3100

工具/软件:Code Composer Studio

您好!

我正在尝试使 HTTPS 示例"https://getCC3100_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT"正常工作。

它失败了。 除了与服务器的证书对话失败之外,一切都正常。

我的日志:

00:00:17.611 makeHttpsCall: HTTPS POST 请求主机 iotqa.gluon.com:443 URI /gluon/api/v1/terminal/boot

00:00:18.529 makeHttpsCall:HTTPCLI_initSockAddr 成功

00:00:18.693 makeHttpsCall:HTTPCLI_CONNECT 成功

00:00:18.706 makeHttpsCall:HTTPCLI_sendRequest 成功

00:00:18.820 makeHttpsCall:***错误***-请求失败,返回 http 400

出现错误 http 400、因为普通 http 请求已发送到 https 端口443。

代码

  HTTPCLI_PARAMS_INIT (params);

  params.TLS = TLS;

未生效。 服务器没有证书。 我有在 NDK 环境中正常工作的正确证书。

有人能在这里帮助我吗?

此致...Narinder

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

    您应该查看 SimpleLink 提供的内容、而不是使用该示例。 我们将在下一次更新时从 TivaWare 中提取它、因为具有 CC3100的应用程序应将 MSP432 MCU 用作主机处理器、因为 SimpleLink 支持这种处理器。

    如果您真的想尝试使该示例发挥作用、您可以向 WiFi 团队寻求帮助、因为问题是 WiFi 部分、而不是 TivaWare。 以下是他们的论坛链接: e2e.ti.com/.../968