Skip to content

Issues using on Arduino Nano RP2040 Connect #46

Open
@henrikanderssoncompago

Description

@henrikanderssoncompago

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions