I am trying to work with AWS subscribe and publish example code. I have created the things and certificates in AWS IOT. After successfully loading the binary file to the device it shows the following date in the terminal.
Starting the AWS IoT example application
startSNTP: Current time: Thu Sep 16 05:07:03 2021
CC32XX has connected to AP and acquired an IP address.
IP Address: 192.168.1.45
AWS IoT SDK Version 3.0.1-
ERROR: runAWSClient L#108
Error(-4) connecting to xxxxxx-ats.iot.us-east-1.amazonaws.com:8883
I found similar kinds of issues in the forum and according to the forum tested the device with many Root certificates and the error code sometimes changed to -12.
When I checked with the latest SDK and found that its SSL error -688 still has no connection with AWS.