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

DISCONNECT retainRegistrations flag for sleep

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Applied
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MQTT-SN
    • Labels:
      None
    • Proposal:
      Hide

      Add a new flags field to DISCONNECT byte 4 (sleep behaviour) bit 0 (retain registrations).

       

      0 means registrations are cleared by the GW during the SLEEP state

      1 means registrations are retained by the GW during the SLEEP state

      Show
      Add a new flags field to DISCONNECT byte 4 (sleep behaviour) bit 0 (retain registrations).   0 means registrations are cleared by the GW during the SLEEP state 1 means registrations are retained by the GW during the SLEEP state

      Description

      Registrations being removed across SLEEPING states has been raised as a concern due to the overhead of the need to reestablish using REGISTER packets during the AWAKE state.

      Both cases are valid, since some devices want to truly SLEEP and will clear ephemeral data during this phase. Therefore we should add optionality to this function using a retain registrations, sent by the client during the DISCONNECT session-expiry-interval packet.

        Attachments

          Activity

            People

            • Assignee:
              thesii Simon Johnson [X] (Inactive)
              Reporter:
              simon.johnson1 Simon Johnson [X] (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: