Print SSL errors for debugging

This commit is contained in:
rodriguezst
2022-06-15 10:35:50 +00:00
committed by GitHub
parent 9b1adf7032
commit 1c4fc0e902
7 changed files with 26 additions and 2 deletions

View File

@@ -117,6 +117,13 @@ void W5500Device::resetDevice()
nwDelay(1500);
}
void W5500Device::printError()
{
Serial.print(F("Free Heap: "));
Serial.println(ESP.getFreeHeap());
}
PubSubClient *W5500Device::mqttClient()
{
return _mqttClient;