Skip to content

Commit 61367e9

Browse files
authored
Merge pull request #189826 from JimacoMS4/fix-gh-86425-double-check-description-vs-actual-protocol
Update CleanSession and policy name for DPS MQTT
2 parents 9a90571 + e7f79f5 commit 61367e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/iot-dps/iot-dps-mqtt-support.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: rajeevmv
55
ms.service: iot-dps
66
services: iot-dps
77
ms.topic: conceptual
8-
ms.date: 10/16/2019
8+
ms.date: 02/25/2022
99
ms.author: ravokkar
1010
ms.custom: [amqp, mqtt]
1111
---
@@ -44,7 +44,7 @@ If a device cannot use the device SDKs, it can still connect to the public devic
4444
* For the **Password** field, use a SAS token. The format of the SAS token is the same as for both the HTTPS and AMQP protocols:
4545

4646
`SharedAccessSignature sr={URL-encoded-resourceURI}&sig={signature-string}&se={expiry}&skn=registration`
47-
The resourceURI should be in the format `{idScope}/registrations/{registration_id}`. The policy name should be `registration`.
47+
The resourceURI should be in the format `{idScope}/registrations/{registration_id}`. The policy name (`skn`) is optional; if it's included, it should be set to `registration`.
4848

4949
> [!NOTE]
5050
> If you use X.509 certificate authentication, SAS token passwords are not required.
@@ -53,7 +53,7 @@ If a device cannot use the device SDKs, it can still connect to the public devic
5353

5454
The following is a list of DPS implementation-specific behaviors:
5555

56-
* DPS does not support the functionality of **CleanSession** flag being set to **0**.
56+
* DPS doesn't support persistent sessions. It treats every session as non-persistent, regardless of the value of the **CleanSession** flag.
5757

5858
* When a device app subscribes to a topic with **QoS 2**, DPS grants maximum QoS level 1 in the **SUBACK** packet. After that, DPS delivers messages to the device using QoS 1.
5959

0 commit comments

Comments
 (0)