MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setSslEnabled

Method setSslEnabled

app/src/MQTT/Publisher.cpp:1441–1448  ·  view source on GitHub ↗

* @brief Enables or disables SSL/TLS for the broker connection. */

Source from the content-addressed store, hash-verified

1439 * @brief Enables or disables SSL/TLS for the broker connection.
1440 */
1441void MQTT::Publisher::setSslEnabled(const bool enabled)
1442{
1443 if (m_sslEnabled == enabled)
1444 return;
1445
1446 m_sslEnabled = enabled;
1447 markConfigChanged();
1448}
1449
1450/**
1451 * @brief Sets the broker clean-session flag.

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected