Remove retained messages by sending QoS 0 0 length publish

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • wd04
    • Affects Version/s: MQTT-SN-1.2
    • Component/s: MQTT-SN
    • None
    • Hide

      New functional description section.

      6.15 - Retained Messages
      If the RETAIN flag is set to 1 in a PUBLISH packet sent by a Client to a Server, the Server MUST replace any existing retained message for this topic and store the Publish Data, so that it can be delivered to future subscribers whose subscriptions match its Topic Name. If the Publish Data contains zero bytes it is processed normally by the Server but any retained message with the same topic name MUST be removed and any future subscribers for the topic will not receive a retained message. A retained message with Publish Data containing zero bytes MUST NOT be stored as a retained message on the Server

      Show
      New functional description section. 6.15 - Retained Messages If the RETAIN flag is set to 1 in a PUBLISH packet sent by a Client to a Server, the Server MUST replace any existing retained message for this topic and store the Publish Data, so that it can be delivered to future subscribers whose subscriptions match its Topic Name. If the Publish Data contains zero bytes it is processed normally by the Server but any retained message with the same topic name MUST be removed and any future subscribers for the topic will not receive a retained message. A retained message with Publish Data containing zero bytes MUST NOT be stored as a retained message on the Server

      Conform to the behaviour in MQTT 3.1.1 and 5.0

            Assignee:
            simon.johnson
            Reporter:
            ian.craggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: