mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-28 17:49:08 +03:00
add optional secure mqtt
This commit is contained in:
@@ -59,10 +59,17 @@ class ESP8266React {
|
||||
return &_mqttSettingsService;
|
||||
}
|
||||
|
||||
espMqttClient * getMqttClient() {
|
||||
MqttClient * getMqttClient() {
|
||||
return _mqttSettingsService.getMqttClient();
|
||||
}
|
||||
|
||||
void setWill(const char * will_topic) {
|
||||
_mqttSettingsService.setWill(will_topic);
|
||||
}
|
||||
void onMessage(espMqttClientTypes::OnMessageCallback callback) {
|
||||
_mqttSettingsService.onMessage(callback);
|
||||
}
|
||||
|
||||
void factoryReset() {
|
||||
_factoryResetService.factoryReset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user