NRF52840 + OpenThread + Azure IoT Hub / MQTT Sample

Hi!

I am looking for a NRF52840+OpenThread+Azure IoT Hub SDK solution. Here is what I did so far. Nothing helped:

  1. Thead CLI Example on NRF52840 + Border Router on PI with RCP NRF52840 is working. I can ping ipv6 in mesh and outside mesh. I can ping ipv4 outside mesh
  2. I merged the code of nRF9160: Azure IoT Hub — nRF Connect SDK 2.2.99 documentation (nordicsemi.com) into the Thread CLI example, created and added certificates and ended up with:

*** Booting Zephyr OS build v3.2.99-ncs1 ***
Azure IoT Hub sample started
Azure IoT Hub library initialized
AZURE_IOT_HUB_EVT_CONNECTING
E: getaddrinfo() failed, error -11
E: mqtt_helper_connect failed, error: 11
Connection request sent to IoT Hub

I am aware of the following tickets but nothing what was described helped. There is no complete description included:

My ask is a working sample with Azure IoT Hub and Openthread / MQTT and Openthread.

I added my github repo to make the code available for testing: sebastianspross/nrf52840_ot_azure (github.com)

Really appriciate your help!

Thanks

Sebastian

Parents Reply Children
No Data
Related