restore encrypted mqtt functionality

This commit is contained in:
technyon
2023-01-28 10:23:26 +01:00
parent e439d67276
commit d96f22f7a3
5 changed files with 30 additions and 31 deletions

View File

@@ -32,8 +32,7 @@ WifiDevice::WifiDevice(const String& hostname, Preferences* _preferences)
_wifiClientSecure->setCertificate(_cert);
_wifiClientSecure->setPrivateKey(_key);
}
// TODO
// _mqttClient = new espMqttClient(*_wifiClientSecure);
_mqttClient = new espMqttClientSecure(_wifiClientSecure);
} else
{
Log->println(F("MQTT without TLS."));