mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
setting of mqtt-format without reboot
This commit is contained in:
@@ -454,6 +454,10 @@ void Mqtt::set_retain(bool mqtt_retain) {
|
||||
mqtt_retain_ = mqtt_retain;
|
||||
}
|
||||
|
||||
void Mqtt::set_format(uint8_t mqtt_format) {
|
||||
mqtt_format_ = mqtt_format;
|
||||
}
|
||||
|
||||
// MQTT onConnect - when a connect is established
|
||||
void Mqtt::on_connect() {
|
||||
// send info topic appended with the version information as JSON
|
||||
|
||||
Reference in New Issue
Block a user