mqtt_client
mqtt_client copied to clipboard
Update AWS example
From user feedback -
Never really got the logging working but I did make another discovery. If I throw in a 1 second wait after the connection is made, then publish my blank get to AWS in order to get the state of the device's shadow then everything works the way it's supposed to in your documentation. There must be some delay in confirming the connection was successful to AWS and when the code will actually pick up the auto response when I publish my blank message. Maybe the code is just executing too quickly for everything to get confirmed and configured.
The AWS Example should be updated to incorporate this observation.