This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF: aws_iot_mqtt_publish() fails with CLIENT_STATE_CONNECTED_YIELD_IN_PROGRESS

Part Number: CC3220SF


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