espressif/esp-aws-iot

Event callback not called when there's a new message in a subscribed topic (CA-299)

OussamaBKO opened this issue · 0 comments

Hello everyone,

I tried the shadow demo example and it worked correctly. I took the same procedure and instead of subscribing to shadow's topics, I subscribed to a normal topic. The subscription was successful as I received 0 in return, but whenever I post something in that topic, I don't receive it on my ESP32. I tried subscribing using a python script and it worked at the same time when the ESP32 received none.
The code is simple, I establish an MQTT session then I subscribe to a topic, the callback is then never triggered.
Am I missing something, or is the framework only available for shadows?

Thank you in advance.