I’ve been working on the AWS example with the above mentioned STM32 board but I have problems to connect MQTT.
I have been following this document (https://docs.aws.amazon.com/ko_kr/freertos/latest/userguide/what-is-amazon-freertos.html)
config END_POINT, WiFi connection in aws_clientcredential.h
then I generate key, overwrite aws_clientcredential_key.h
but my board cannot connect to mqtt broker.
I’m using WPA2 AP, woking on system workbench for STM32
Activating Device
No response from the target, the boot loader can not be started
Please, verify the boot mode configuration, reset your device then try again.
Please, reset your device then press any key to continue
Do you have anything else connected to the device - Please make sure that STM workbench, Terminal program etc. are all closed while you try to update the WiFi firmware.
You can remove the project level define USE_OFFLOAD_SSL and then the code should work with the old firmware as well. However, it will significantly impact performance as it will start doing TLS in software. We highly recommend updating the WiFi firmware.
The TCP connection is successful but MQTT connection is not. This can happen if the policy is not correctly setup. Would you please share your policy document attached to the certificate you are using?
So it is a socket connection problem. Would you please step into the SOCKETS_Connect function and see at what step it fails? Are you running with USE_OFFLOAD_SSL enabled or disabled?
Do you want to set up a remote debugging session to debug this issue?