Mqtt Protocol Version
MQTT protocol version for the client connection.
Determines the wire format, packet encoding, and available features. MQTT 3.1.1 uses a simpler packet format without properties, reason codes in most packets, or advanced features like topic aliases and enhanced auth.
Entries
Properties
Returns a representation of an immutable list of all enum entries, in the order they're declared.
The protocol level byte sent in the CONNECT packet variable header.
Returns true if this version supports MQTT 5.0 properties on packets.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.