Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1409 Posts: 7545
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 78 Posts: 343
I am new to the XDK Comunity and I am no C guru, so please don´t shout at me :)
I try to get the XDK110 connected to the Azure IoT Hub but I am not able to find a way to define the correct connetion settings.
I read already the existing threads about Azure and MQTT but was not able to follow everything.
Until now I was able to connect to a local Mosquitto MQTT Broker using the Example Code to provide Humidity, Pressure and Temperature from the XDC Device.
When I try to change the MQTT_Broker_Host_URL I get an connection error, becuase I understand that I need to define the right key somewhere, but I don´t know what and where I need to change the connection logic to provide ne shared key.
Is there anyone that likes to help me step by step?
We have never tried to connect to Azure IoT hub.
We are not aware of the required settings to connect.
We will explore and let you know.
Lavanya S P
that sounds great.
There is an C SDK available on GIT but I was not able to understand how to use this in the XDK Workbanch to get a connection.
And there is also a guide about "How to Port the Azure IoT C SDK to Other Platforms" available
But even this ddn´t helped me.
I guess I need to spend more time to get my C experience back in my mind.
Hi, sorry for the late reply.
I had no real succes to link the XDK direct to Azure.
My current sollution is a Raspberry Pi with Windows Iot core with an MQTT Broker that receives MQTT messages from the XDK and foreward everything to Azure.
There are some NuGet packages available that makes it easy to create the MQTT Broker.