Uniot Core
0.8.1
Loading...
Searching...
No Matches
uniot::events::mqtt Namespace Reference

Enumerations

enum  Topic { CONNECTION = FOURCC(mqtt) }
 MQTT event topics. More...
 
enum  Msg { FAILED = 0 , SUCCESS = 1 }
 MQTT event messages. More...
 

Enumeration Type Documentation

◆ Msg

MQTT event messages.

Defines specific event messages that can be sent within MQTT topics. These messages represent different states and outcomes of MQTT operations, particularly connection establishment and failure scenarios.

Enumerator
FAILED 

MQTT connection failed or was lost.

SUCCESS 

MQTT connection established successfully.

◆ Topic

MQTT event topics.

Defines the main categories of MQTT events that can be emitted throughout the system. Topics group related events together and use FOURCC identifiers for efficient event handling and type safety.

Enumerator
CONNECTION FOURCC(mqtt) 

MQTT connection state changes and operations.