MDK-Packs / Azure_IoT

Microsoft Azure IoT SDKs and Libraries
6 stars 1 forks source link

Keil, Azure_IoT, Azure IoT Hub Device Provisioning service (DPS) #1

Open hmckinlay opened 2 years ago

hmckinlay commented 2 years ago

Hi, I managed to get the example working in this fairly quickly to connect a device to Azure Hub using "Microsoft Azure IoT Device Client" version 1.2.4. Now I would like to trial adding a device to Azure Central, which uses DPS as per https://docs.microsoft.com/en-au/azure/iot-central/core/concepts-get-connected. I can see if I define USE_PROV_MODULE there is a bunch of additional functions but it's a little unclear on how to tie it all together.

  1. Does this library support DPS and has it been tested with it?
  2. Are there any examples around of how to authenticate and enrol via SAS token or an X.509 certificate? Thanks!
hmckinlay commented 2 years ago

Ahh after compiling it looks like the DPS source is not included. https://github.com/Azure/azure-iot-sdk-c/tree/master/provisioning_client

Any insight into if / when this might be added?

RobertRostohar commented 2 years ago

Hi, the whole pack is based on older versions of upstream repos and is due for an update. However we have currently no timeline when this will happen.