3
votes

Need pointers on how to do device registration using Azure DPS (x509 cert) and communicate to IOT hub without using azure SDK libraries.

Is it possible via MQTT? any server (iot hun/DPS) listening to client who can send MQTT messages without using azure SDK? if yes any format on how to send request to register device using X509 certificate to azure DPS and then send messages/file upload to azure IOT Hub?

We need to implement this requirement in C language platform if not possible then C#.

Have already tried with REST API however I'm looking for MQTT option to archive this requirement

Thank, Bhupal

1
why not use SDK? As with SDK, you can use MQTT easy.kgalic
Our devices software is on C language platform (Ingenico Telium 2 OS), considering the C SDK for IOT implementation we cannot use it because the Azure C SDK uses dynamic memory allocation and pthread which we dont support in our application. the dynamic memory allocation leads to memory fragmentation in our devices. I'm looking for doing this using MQTT client. mainly we want to do this in C Language but as I didnt get any pointers in C yet I'm trying to do this in C# first and if successful I will replicate same on C platform. Thanks, BhupalBhupal

1 Answers

1
votes

Here and here you can find how to connect with IoT Hub via MQTT directly.