Browse Source

Add more debug info to MQTT module

i18n
Xose Pérez 6 years ago
parent
commit
94438b496d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      code/espurna/mqtt.ino

+ 2
- 1
code/espurna/mqtt.ino View File

@ -508,8 +508,9 @@ void mqttSetBrokerIfNone(IPAddress ip, unsigned int port) {
void mqttSetup() { void mqttSetup() {
DEBUG_MSG_P(PSTR("[MQTT] Async %s, Autoconnect %s\n"),
DEBUG_MSG_P(PSTR("[MQTT] Async %s, SSL %s, Autoconnect %s\n"),
MQTT_USE_ASYNC ? "ENABLED" : "DISABLED", MQTT_USE_ASYNC ? "ENABLED" : "DISABLED",
ASYNC_TCP_SSL_ENABLED ? "ENABLED" : "DISABLED",
MQTT_AUTOCONNECT ? "ENABLED" : "DISABLED" MQTT_AUTOCONNECT ? "ENABLED" : "DISABLED"
); );


Loading…
Cancel
Save