wotpy.protocols.mqtt.enums
Enumeration classes related to the MQTT protocol binding.
Classes
Enumeration of MQTT ACK codes. |
|
Enumeration of MQTT packet types. |
|
Enumeration of MQTT Quality of Service levels. |
|
Enumeration of MQTT schemes. |
|
Enumeration of terms that form the MQTT vocabulary that may appear in TD Form elements. |
- class wotpy.protocols.mqtt.enums.MQTTCodesACK
Bases:
EnumListMixinEnumeration of MQTT ACK codes.
- CON_OK = 0
- SUB_ERROR = 128
- class wotpy.protocols.mqtt.enums.MQTTCommandCodes
Bases:
EnumListMixinEnumeration of MQTT packet types.
- PUBLISH = 3
- SUBSCRIBE = 8
- UNSUBSCRIBE = 10
- class wotpy.protocols.mqtt.enums.MQTTQoSLevels
Bases:
EnumListMixinEnumeration of MQTT Quality of Service levels.
- AT_LEAST_ONCE = 1
- EXACTLY_ONCE = 2
- FIRE_FORGET = 0
- class wotpy.protocols.mqtt.enums.MQTTSchemes
Bases:
EnumListMixinEnumeration of MQTT schemes.
- MQTT = 'mqtt'
- MQTTS = 'mqtts'
- class wotpy.protocols.mqtt.enums.MQTTVocabularyKeys
Bases:
EnumListMixinEnumeration of terms that form the MQTT vocabulary that may appear in TD Form elements.
- COMMAND_CODE = 'mqtt:commandCode'
- OPTIONS = 'mqtt:options'
- OPTION_NAME = 'mqtt:optionName'
- OPTION_NAME_DUP = 'mqtt:dup'
- OPTION_NAME_QOS = 'mqtt:qos'
- OPTION_NAME_RETAIN = 'mqtt:retain'
- OPTION_VALUE = 'mqtt:optionValue'