My project is based on the WiFi Thermostat but has BLE, the display, fonts, touch interface, and sensors removed. Basically it is just a framework for building a custom application with AWS MQTT, Shadow, and OTA.
The project boots, gets its IP address, get the time via SNTP, and connects to AWS successfully.
The UART shows:
Shadow Connect
runAWSClient() success, transition to CONNECTED state
Then my code attempts to publish a message with aws_iot_mqtt_publish() but it gets a CLIENT_STATE_CONNECTED_YIELD_IN_PROGRESS.
The same publish is working in the AWS subscribe_publish_sample project.
How can I resolve this problem?
Thank you,
Mark