Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5, CSD01
    • Fix Version/s: 5, wd16
    • Component/s: core
    • Labels:
      None
    • Proposal:
      Hide

      Add to CONNACK properties.

      3.2.2.3.2 Session Expiry Interval
      17 (0x11) Byte, Identifier of the Session Expiry Interval.
      Followed by the Four Byte Integer representing the Session Expiry Interval in seconds. It is a Protocol Error to include the Session Expiry Interval more than once.

      If the Session Expiry Interval is absent the value in the CONNECT Packet used. The server uses this property to inform the Client that it is using a value other than that sent by the Client in the CONNACK. Refer to section 3.1.2.11.2 for a description of the use of Session Expiry Interval.

      Show
      Add to CONNACK properties. 3.2.2.3.2 Session Expiry Interval 17 (0x11) Byte, Identifier of the Session Expiry Interval. Followed by the Four Byte Integer representing the Session Expiry Interval in seconds. It is a Protocol Error to include the Session Expiry Interval more than once. If the Session Expiry Interval is absent the value in the CONNECT Packet used. The server uses this property to inform the Client that it is using a value other than that sent by the Client in the CONNACK. Refer to section 3.1.2.11.2 for a description of the use of Session Expiry Interval.

      Description

      The Session Expiry Interval Property (0x11) can only be present in the CONNECT and DISCONNECT header.

      For clients connecting to a MQTT broker it may be a useful information how long the session expiry interval is, especially if an administrative session expiry interval was configured on the broker and the client is not aware of it.

      Also, if a client sets a session expiry interval in the CONNECT message, it may be overridden by the broker implementation. Currently there is no way to notify the client of his "new" session expiry interval.

      So the proposal is to add the Session Expiry Interval Property as valid property for the CONACK packet.

        Attachments

          Activity

            People

            • Assignee:
              ken.borgendale Ken Borgendale (Inactive)
              Reporter:
              dobermai Dominik Obermaier (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: