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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠