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

preguntada hace 4 años335 visualizaciones
1 Respuesta
1

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

respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas