- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am testing AnyCloud MQTT-Client on CY8CKIT-062S2-43012.
I always got error "MQTT connection failed with error code 0x8060009."
But the same setting of mqtt_client_config.h and wifi_config.h on SDK v4-beta release can connect to aws cloud.
Solved! Go to Solution.
- Labels:
-
ModusToolbox AnyCloud SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Afte update to ModusToolBox 2.3.0 (and 2.3.1 patch ), it can connect to aws iot core.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Frank-Lin The error code indicates that the server is refusing connection.
On what version is this failing?
Is it on the default MQTT-Client example at https://github.com/cypresssemiconductorco/mtb-example-anycloud-mqtt-client ? Or has there been any changes that have been done? If so, can you give out the steps done for me to replicate the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it is the default mqtt-client project without changing.
Following is my change to project,
mqtt_client_config.h ----> MQTT_BROKER_ADDRESS, CLIENT_CERTIFICATE, CLIENT_PRIVATE_KEY, ROOT_CA_CERTIFICATE
wifi_config.h ---------------> WIFI_SSID, WIFI_PASSWORD
I have test it at SDK aws-iot-device-sdk-embedded-C "v4-beta release" and can work (my old project), but now the the project is using SDK "202011.00" can't connect to aws iot core.
I noticed that "AWS_IOT_MQTT_MODE" is disappear in mqtt_client_config.h, is that the reason?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Afte update to ModusToolBox 2.3.0 (and 2.3.1 patch ), it can connect to aws iot core.