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

demandé il y a 4 ans335 vues
1 réponse
1

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

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions