adafruit / adafruit/Adafruit_CircuitPython_AzureIoT

Issues using on Arduino Nano RP2040 Connect

Open
#46 5 comments 0 reactions 1 assignee Claimed by @brentru View on GitHub
Dominant language
Python
Stars
19
Forks
13
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.