aws-iot-device-sdk-embedded-C v4_beta on ESP32

0

Hello, I've ported the v4_beta as an ESP-IDF (master) component and I'm having some issues with the MQTT socket disconnecting on read. Wireless works fine, because I'm setting the time using SNTP before the demo code runs. I'm using mbedtls that is included with ESP-IDF with one change, I had to implement mbedtls_net_poll. The shadow demo code I'm using is not modified from the SDK demo. I don't know where to begin to debug this problem.

Here is a log from the library: https://pastebin.com/5jJj5SgN

Here is my fork/branch of ESP-IDF: https://github.com/jkent/esp-idf/tree/gtech
Here is my demo project: https://github.com/jkent/gtech-iot-demo

Any pointers would be greatly appreciated.

Edited by: jkentfromgithub on Sep 4, 2020 3:16 PM

已提问 4 年前335 查看次数
1 回答
1

Turns out I didn't have a policy attached to my certificate. Problem resolved!

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则