Coverage for filip/models/mqtt.py: 100%
8 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-11-20 16:54 +0000
« prev ^ index » next coverage.py v7.4.4, created at 2024-11-20 16:54 +0000
1"""
2Module contains models for MQTT communication with FIWARE's IoT-Agents.
3"""
4from aenum import Enum
7class IoTAMQTTMessageType(str, Enum):
8 """
9 Options for mqtt message type
10 """
11 _init_ = 'value __doc__'
12 CMD = "cmd", "Command"
13 CMDEXE = "cmdexe", "Command acknowledgement"
14 MULTI = "multi", "Multi measurement"
15 SINGLE = "single", "Single measurement"
16 CONFIG = "configuration", "Configuration message"