Local tests added

This commit is contained in:
hsaturn
2021-03-31 19:09:05 +02:00
parent e71ffefc5a
commit 5211360b91
3 changed files with 154 additions and 3 deletions

View File

@@ -157,9 +157,8 @@ class MqttClient
void dump()
{
uint32_t ms=millis();
Serial << "MqttClient (" << clientId.c_str() << ") p=" << (uint64_t) parent
<< " c=" << (uint64_t)client << (connected() ? " ON " : " OFF");
Serial << ", alive=" << (uint32_t)alive << '/' << ms << ", ka=" << keep_alive;
Serial << "MqttClient (" << clientId.c_str() << ") " << (connected() ? " ON " : " OFF");
Serial << ", alive=" << alive << '/' << ms << ", ka=" << keep_alive;
Serial << (client && client->connected() ? "" : "dis") << "connected";
message.hexdump("entrant msg");
bool c=false;