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.

[参考译文] CC3200:AWS IoT publish_subscribe_sample 问题:CAN#39;t connect to AWS IoT

Guru**** 2551110 points
Other Parts Discussed in Thread: CC3200, UNIFLASH

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

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/616119/cc3200-aws-iot-publish_subscribe_sample-problem-can-t-connect-to-aws-iot

器件型号:CC3200
主题中讨论的其他器件:UNIFLASH

大家好、

我想 将 CC3200 添加到 AWS、我从 GITORIOUS@TI https://git.ti.com/iotdev/aws-iot-device-sdk-embedded-c 获得了一个分支(v2.1.0-ti)、 遵循 README_CC3200.MD

当我执行最后一步"运行应用程序"时、我收到"error:runAWSClient L#121 Error (-24) connecting to a11u04ys8xxxxx.iot.us-east-1.amazonaws.com:8883" log (错误:runAWSClient L#121错误(-24)正在连接到日志)"。

我的设置:

certflasher.c:

aws_iot_config.h

将 RootCA.pem、certificature.pem 和 private.pem 转换为 DER 格式

OpenSSL x509 -in root-ca.pem -inform PEM -out ca.der

OpenSSL x509 -输入14ecb665d4-certificature.pem.crt -通知 PEM -输出 cert.der

OpenSSL x509 -输入14ecb665d4-private.pem.key -通知 PEM -输出 key.der

UniFlash 设置 和闪存到 CC3200LaunchPad

1.格式

2.服务包编程

3.方案

AWS 物联网:

我已经学习过这篇文章 (e2e.ti.com/.../568618)、但仍然无法连接到 AWS IoT

BTW、 如何知道 AWS IOT _MQTT_CLIENT_ID 值? 自定义或检查 AWS IoT?

感谢您耐心等待我。

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

    谢谢、我解决了这个问题。

    错误位于 certflasher.c  

    我忘记移动'\' 个字符。

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