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

Session Expiry in CONNACK should be optional

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MQTT-SN
    • Labels:
      None

      Description

      The Session Expiry returned value in the CONNACK is currently not optional. I think it ought to be optional, its presence indicated by a flag. It takes 4 bytes, and in many (most?) the Gateway will not change the value sent by the client on the CONNECT.

      Also, the current approach uses a special value, 0, to indicate that the value in the CONNECT packet is being used. If Session Expiry is optional, this condition is changed to "is present", a much cleaner definition.

        Attachments

          Activity

            People

            • Assignee:
              ian.craggs Ian Craggs
              Reporter:
              ian.craggs Ian Craggs
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: