DISCONNECT retainRegistrations flag for sleep

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: MQTT-SN
    • None
    • 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

      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.

            Assignee:
            thesii
            Reporter:
            simon.johnson1
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: