I’m trying to connect my OpenMV camera to AWS IoT Core but running into some SSL/MQTT connectivity issues.
Current Setup:
- OpenMV Cam with firmware v4.5.3
- AWS IoT Core endpoint configured
- Certificates converted from PEM to DER format
- Basic MQTT works (tested with test.mosquitto.org)
- Basic SSL works (tested with www.google.com)
Issues Encountered:
-
SSL Connection to AWS IoT fails
-
SSL wrap_socket doesn’t accept certificate parameters (gets “extra keyword arguments given” error)
-
Direct MQTT connection to AWS times out
-
What’s the correct way to use client certificates with OpenMV’s SSL implementation?
-
Is there a working example of OpenMV connecting to AWS IoT?
-
Are there any specific firmware requirements for AWS IoT connectivity?
-
Should I be using a different approach altogether (HTTP/HTTPS instead)?
Any guidance would be greatly appreciated. I’m open to alternative approaches or workarounds if the direct SSL/MQTT connection isn’t possible with the current firmware. Is there any code you have to directly connect with iot core?