Description
Hi,
I´m trying to get this library to work on my Arduino RP2040 Nano Connect board.
Got Wifi working and connected
But when running this code:
from adafruit_azureiot import IoTHubDevice
device = IoTHubDevice(pool, esp, secrets["azure_device_connection_string"])
device.connect
I get this error:
code.py output:
Traceback (most recent call last):
File "code.py", line 76, in
File "adafruit_azureiot/init.py", line 35, in
File "adafruit_azureiot/iot_mqtt.py", line 17, in
ImportError: no module named 'ssl'
The azure_device_connection_string is copied from the IoT hub device page in Azure (and validated by using a VS Code extension to post message on the default service bus)
Using the latest CircuitPython library from https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases
I have also tried to use the Adafruit IO bundle and the MQTT client, but are unable to find any documentation how to use it against an Azure IoT Hub
Please advice