You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -313,6 +313,20 @@ Here are existing QoS levels that you can use:
313
313
314
314
While it's possible to configure QoS 0 (AtMostOnce) for faster message exchange, you should note that the delivery isn't guaranteed nor acknowledged. For this reason, QoS 0 is often referred as "fire and forget".
315
315
316
+
## Module support
317
+
318
+
Modules are supported, you will have to use the constructor to pass the module ID either with a SAS token, either with a certificate. The rest fully works like a normal device. Everything is fully supported including module direct method, telemetry and of course twins!
319
+
320
+
For example here with a SAS token. Note that the certificates are fully supported as well. And if you are not storing the Azure root certificate on the device, you'll need to pass it in the constructor.
## Azure IoT Device Provisioning Service (DPS) support
317
331
318
332
This SDK also supports the Azure IoT Device Provisioning Service. Group and individual provisioning scenarios are supported either with a symmetric key either with certificates. To understand the mechanism behind DPS, it is recommended to read the [documentation](https://docs.microsoft.com/azure/iot-dps/).
/// <param name="deviceId">The device ID (name of your device).</param>
90
-
/// <param name="clientCert">The certificate to connect the device (containing both public and private keys). Pass null if you are using the certificate store on the device</param>
105
+
/// /// <param name="moduleId">The module ID which is attached to the device ID.</param>
106
+
/// <param name="clientCert">The certificate to connect the device (containing both public and private keys). Pass null if you are using the certificate store on the device.</param>
91
107
/// <param name="qosLevel">The default quality of assurance level for delivery for the MQTT messages (defaults to the lowest quality).</param>
92
-
/// /// <param name="azureCert">Azure certificate for the connection to Azure IoT Hub</param>
93
-
/// /// <param name="modelId">Azure Plug and Play model ID</param>
/// <param name="deviceId">The device ID (name of your device).</param>
158
+
/// <param name="clientCert">The certificate to connect the device (containing both public and private keys). Pass null if you are using the certificate store on the device.</param>
159
+
/// <param name="qosLevel">The default quality of assurance level for delivery for the MQTT messages (defaults to the lowest quality).</param>
160
+
/// /// <param name="azureCert">Azure certificate for the connection to Azure IoT Hub.</param>
161
+
/// /// <param name="modelId">Azure Plug and Play model ID.</param>
0 commit comments