MQTT publishing configuration.
std::string root
MQTT root topic.
std::string host
Hostname of the MQTT broker.
int min_delay_ms
Minimum delay between to messages in milliseconds.
int keep_alive
Keep alive interval in seconds.
bool ssl
Use secured connection.
bool clean_session
Clean session flag.
int port
Port of the MQTT broker.
std::string password
Password for connecting to the MQTT broker.
std::string certificate_authority
Path to CA PEM-file.
bool verify
Skip SSL verification.
bool websocket
Use websocket protocol.
int connection_timeout_s
Connection timeout in seconds.
std::string path
Websocket path.
std::string username
Username for connecting to the MQTT broker.