Need Help Connecting Arduino Portenta H7 to AWS

Hello everyone,

I am currently working with the Arduino Portenta H7 and trying to establish a connection with AWS (Amazon Web Services). I attempted to use the WiFiClientSecure library, but it is specifically designed for the ESP32 and does not directly work with the ARM architecture of the Portenta H7.

Has anyone successfully established a secure connection between the Arduino Portenta H7 and AWS? Is there a library compatible with the Arduino Portenta H7 for this purpose?

Any help or suggestions would be greatly appreciated!

Thank you in advance!

WiFiSSLClient is the name of secure Client in libraries by Arduino

Thank you very much for letting me know that WiFiSSLClient is the secure client name in Arduino libraries. I understand that.

However, I'm still encountering the following error when trying to connect to AWS IoT Core:

MQTT connection failed! Error code= -2

Do you have any suggestions on how to fix this error?

I've already tried:

  • Verifying the Wi-Fi connection
  • Checking my AWS IoT credentials
  • Recompiling the code
  • Using different versions of the ArduinoMqttClient library