azure-iot-sdk-c
azure-iot-sdk-c copied to clipboard
What is the QoS when using MQTT as transport?
Hi, thank you for your work. I'm incorporating the Azure IoT SDK into one of our company project, and I needed to know what is the quality of service level implemented by MQTT in the SDK. Searching in the docs / .md files, I found no clear answer. However, I found some issue answers that seems to clarify that the QoS for the SDK is 1 (at least once), and that the SDK doesn't support QoS 2 (and I think neither QoS 0?). However searching in the source code (specifically in iothub_client/src/iothubtransport_mqtt_common.c
) I see references to QoS 0 sometimes. So I have two questions:
- for the "user" data (that is, messages created and sent using the SDK, can you confirm the QoS is 1 (at least once)?
- why isn't the QoS specified in the docs? I feel like it could be of interested for other users. Maybe it could be added in the "Key features > Device client SDK" section of the README?
Thank you for your time!