Uploaded image for project: 'OASIS Message Queuing Telemetry Transport (MQTT) TC'
  1. OASIS Message Queuing Telemetry Transport (MQTT) TC
  2. MQTT-422

WD11 - Section 3.2.2.2 Session Present has to be reworked

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5, wd11
    • Fix Version/s: 5, wd12
    • Component/s: edits
    • Labels:
      None
    • Proposal:
      Hide

      WD12 - Line 1370
      If the Server accepts a connection with Clean Start set to 1, the Server MUST set Session Present to 0 in the CONNACK packet in addition to setting a 0x00 (Success) Return Code in the CONNACK packet [MQTT-3.2.2-2].

      If the Server accepts a connection with Clean Start set to 0 and the Server has Session State for the ClientID, it MUST set Session Present to 1 in the CONNACK packet, otherwise it MUST set Session Present to 0 in the CONNACK packet. In both cases it MUST set a 0x00 (Success) Return Code in the CONNACK packet. [MQTT-3.2.2-4].

      Show
      WD12 - Line 1370 If the Server accepts a connection with Clean Start set to 1, the Server MUST set Session Present to 0 in the CONNACK packet in addition to setting a 0x00 (Success) Return Code in the CONNACK packet [MQTT-3.2.2-2] . If the Server accepts a connection with Clean Start set to 0 and the Server has Session State for the ClientID, it MUST set Session Present to 1 in the CONNACK packet, otherwise it MUST set Session Present to 0 in the CONNACK packet. In both cases it MUST set a 0x00 (Success) Return Code in the CONNACK packet. [MQTT-3.2.2-4] .

      Description

      WD11 - Line 1337:
      Session Expiry Interval set to 0 - This should be Clean Start set to 1. Also suggest to clarify that a Session Expiry Interval from a previous session has an influence, but I suggest to reword by emphasizing on the previous session and saying that if the Server has a Session that hasn't expired, then it MUST set Session Present to 1 otherwise 0.

        Attachments

          Activity

            People

            • Assignee:
              Andrew_Banks Andrew Banks
              Reporter:
              kdot Konstantin Dotchkoff [X] (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: