1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

Minor fix removing misleading message

This commit is contained in:
Gregor Baues 2021-05-20 15:40:04 +02:00
parent a33b463c74
commit d72636b4ec
2 changed files with 5 additions and 3 deletions

View File

@ -220,7 +220,9 @@ void mqttCallback(char *topic, byte *payload, unsigned int length)
} }
default: // invalid command / message default: // invalid command / message
{ {
DIAG(F("MQTT Invalid DCC-EX command: %s"), (char *)payload); // this may be the echo comming back on the main channel to which we are also subscribed
// si just ignore for now
// DIAG(F("MQTT Invalid DCC-EX command: %s"), (char *)payload);
break; break;
} }
} }
@ -404,7 +406,7 @@ bool MQTTInterface::setupNetwork()
IPAddress ip = Ethernet.localIP(); // reassign the obtained ip address IPAddress ip = Ethernet.localIP(); // reassign the obtained ip address
DIAG(F("IP: %d.%d.%d.%d"), ip[0], ip[1], ip[2], ip[3]); DIAG(F("IP: %d.%d.%d.%d"), ip[0], ip[1], ip[2], ip[3]);
DIAG(F("Port:%d"), IP_PORT); DIAG(F("Port:%d"), IP_PORT);
return true; return true;
} }

View File

@ -92,7 +92,7 @@ The configuration file for DCC-EX Command Station
// //
//#define IP_ADDRESS { 192, 168, 1, 200 } //#define IP_ADDRESS { 192, 168, 1, 200 }
//
// ENABLE_MQTT: if set to true you have to have an Arduino Ethernet card (wired). This // ENABLE_MQTT: if set to true you have to have an Arduino Ethernet card (wired). This
// is not for Wifi. You will need the Arduino Ethernet library as well as the PubSub // is not for Wifi. You will need the Arduino Ethernet library as well as the PubSub
// library from <add link here> or get via the libray manager either from the IDE // library from <add link here> or get via the libray manager either from the IDE