For publication, it's possible that the client may not want to transmit the topic in every message.
By using TopicAlias properties, the size of the MQTT publication packet can be significantly reduced, as the TopicAlias uses a u16 to represent the topic as opposed to the full string.
For publication, it's possible that the client may not want to transmit the
topicin every message.By using
TopicAliasproperties, the size of the MQTT publication packet can be significantly reduced, as theTopicAliasuses a u16 to represent the topic as opposed to the full string.