I'm using PubSubClient per this example to connect to AWS IoT. Specifically, I'm trying to use AWS IoT Fleet Provisioning, which involves subscribing and publishing to some special $aws/
topics.
The connection is being established correctly, and CloudWatch logs show successful Connect
, Subscribe
, Publish-In
and Publish-Out
events. However, whenever the MCU receives a message, it appears to drop the connection. What gives?