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
Note that those are status change based, so once the connect or disconnect event arrives, they'll be replaced by other events as soon as something else happened like receiving a twin.
304
304
305
+
### QoS Level
306
+
307
+
By default, the device SDKs connect to an IoT Hub use QoS 1 for message exchange with the IoT hub. You can change this by setting the `qosLevel` argument of the `DeviceClient` constructor.
308
+
309
+
Here are existing QoS levels that you can use:
310
+
311
+
* AtMostOnce: The broker/client will deliver the message once, with no confirmation.
312
+
* AtLeastOnce: The broker/client will deliver the message at least once, with confirmation required.
313
+
* ExactlyOnce: The broker/client will deliver the message exactly once by using a four step handshake.
314
+
315
+
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".
316
+
305
317
## Azure IoT Device Provisioning Service (DPS) support
306
318
307
319
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/).
0 commit comments