LV-MQTT-Broker
LV-MQTT-Broker copied to clipboard
[MQTT-3.3.1-10] Publish packet and zero-byte payload
A PUBLISH Packet with a RETAIN flag set to 1 and a payload containing zero bytes will be processed as normal by the Server and sent to Clients with a subscription matching the topic name. Additionally any existing retained message with the same topic name MUST be removed and any future subscribers for the topic will not receive a retained message.