Has anyone manage to get the STM32CubeFunctionPack_AWS1_V1.0.1 code communicating with AWS IOT yet ? We have been through the configuration process several times now, generating new certificates and keys, we even set up a new account on AWS IOT, but always get the following error when opening a socket:
ERROR: enum <unnamed> iot_tls_connect(struct Network *, struct <unnamed> *) L#106 wifi_socket_client_open FAIL
We tested the process with an invalid certificate, which causes the connection to immediately fail. With what be believe to be the correct certificate and keys the socket opening process times out (rather than fails).
The hardware connects to the W-Fi local gateway OK and communicates with the time-d.nist.gov service to get current time/date without a problem. We've tested the same code on multiple Wi-Fi gateways, but to no avail.
The hardware platform is the IoT node - STM32 ODE solution (HW-CLD-AWS1).
I may be guessing but all this echoes the issues with the very original SPWF01 code not being able to handle certificate lengths (see https://community.st.com/message/150608-re-spwf01-cant-find-host-ip-of-aws-iot-server?commentID=150608#comment-150608).