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.

CCS/CC3220SF: AWS and mqtt library

Part Number: CC3220SF

Tool/software: Code Composer Studio

Hi,

i implement mqtt and AWS based on the example in the simplink version simplelink_cc32xx_sdk_4_20_00_07;

i run mqtt and AWS library in the same time.

i see that AWS all the time disconnect and reconnect and i get error message 

Socket Err: Other Peer Terminated The SSL Layer.

what im doing wrong?

  • Hi,

    Are you trying to use the basic mqtt_client example from the SDK to connect to AWS? If so, I highly suggest you use the examples from the AWS plugin as the base of your application.

    For the socket error, have you ensured that the AWS device parameters in aws_iot_config.h as well as the certs provided are correct? Please do also check to ensure that the cloud is configured correctly and that your AWS device has the permissions needed to connect and subscribe/publish on the topics you are using.

    Regards,
    Michael