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

asked 4 years ago327 views
1 Answer
1

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

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions