Tool/software: Code Composer Studio
Hello,
I am using AWS IoT Plugin and receiving the following problem.
Starting the AWS IoT example application startSNTP: Current time: Mon Apr 8 12:35:02 2019 CC32XX has connected to AP and acquired an IP address. IP Address: 192.168.29.138 AWS IoT SDK Version 3.0.1- Connecting... ERROR: runAWSClient L#108 Error(-7) connecting to audqth7zumq6e-ats.iot.us-east-1.amazonaws.com:8883 Subscribing... ERROR: runAWSClient L#126 Error subscribing (-13) ERROR: runAWSClient L#178 An error occurred in the loop. Error code = -13
I narrowed the culprit to the following - aws_iot_mqtt_client_connect.c, ln 477. Although the error is -7 in the UART output, rc is 0xD7.
My first thinking was IoT policy since I had good constraints (and thought perhaps connect constraint was causing the problem) but after making the policy have no constraints.