-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Query/Question
Would it be possible to get an example implementation for Arduino (ESP32 or Nano RP2040) using the Device Provisioning Service (DPS) to register itself in an IoT Hub?
Why is this not a Bug or a feature Request?
According to the source code in the azure-sdk-for-arduino, there is a provisioning client that exposes functionality to connect to the DPS. However using this client does not seems to be as straightforward, as I keep getting errors. There also does not seem to be much documentation for this specific case.
The errors I am mostly running into are related to the az_iot_provisioning_client_sas_get_signature and az_iot_provisioning_client_sas_get_password where it is not entirely clear to me how I used the first one to call the second method. And use that in a PubSubClient (MQTT) to call the DPS.
Setup (please complete the following information if applicable):
- OS: windows (pc used to develop)/ no OS on Arduino
- IDE: Arduino IDE
- Version of the Library used: latest
- Arduino type: Nano RP2040/ESP32
Information Checklist
Please make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- Query Added
- Setup information Added