mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
code cleaning
This commit is contained in:
@@ -60,21 +60,14 @@ static String generateClientId() {
|
|||||||
|
|
||||||
class MqttSettings {
|
class MqttSettings {
|
||||||
public:
|
public:
|
||||||
// host and port - if enabled
|
|
||||||
bool enabled;
|
bool enabled;
|
||||||
String host;
|
String host;
|
||||||
uint16_t port;
|
uint16_t port;
|
||||||
String rootCA;
|
String rootCA;
|
||||||
bool enableTLS;
|
bool enableTLS;
|
||||||
|
|
||||||
// username and password
|
|
||||||
String username;
|
String username;
|
||||||
String password;
|
String password;
|
||||||
|
|
||||||
// client id settings
|
|
||||||
String clientId;
|
String clientId;
|
||||||
|
|
||||||
// connection settings
|
|
||||||
uint16_t keepAlive;
|
uint16_t keepAlive;
|
||||||
bool cleanSession;
|
bool cleanSession;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user