code cleaning

This commit is contained in:
Proddy
2024-02-13 20:19:21 +01:00
parent b683d1dd21
commit df21c15972

View File

@@ -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;