Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I am working on AWS application using the development kit CYW954907AEVAL1F. in Chapter 8 of the AWS tutorials, there are three versions for establishing connection with AWS Cloud. When I run the code MQTT, I am catching some error with initialization of MQTT.
I am not sure what is error code 4, and I am also not sure how to debug this as the code was written for the dev kit, and I have only changed wifi access SSID/PC, and the endpoints, and Topic related information in AWS. My certificates and Thing are working as desired with other scripts, but the MQTT code provided on GitHub is providing this error.
I have re-downloaded the source and make file and have reproduced this error (please check there is some typo in source actually "*_SUBCRIBED".
At any rate, the MQTT is still not working and I continue to get same error.
I should mention I am using out of box CYW954907AEVAL1F with "out of box" github source. I am able to connect to my WIFI but MQTT is not connecting. Any more suggestions or clarification around initializing MQTT or "Error Code 4".