version Property
The MQTT protocol version that the class will conform to.
Syntax
def get_version() -> int: ... def set_version(value: int) -> None: ...
version = property(get_version, set_version)
Default Value
0
Remarks
This property specifies the version of the MQTT protocol to use. Possible values are:
0 (mvV3 - default) | MQTT 3.1.1 |
1 (mvV5) | MQTT 5 |