Added vrsion info to autodiscovery packet.

This commit is contained in:
Blaz Kristan
2021-03-04 14:34:36 +01:00
parent 5553964d52
commit 6c997f573a
7 changed files with 1683 additions and 1664 deletions

View File

@@ -6,11 +6,11 @@ String getNodeTypeDisplayString(uint8_t nodeType) {
case NODE_TYPE_ID_ESP8266: return F("ESP8266");
case NODE_TYPE_ID_ESP32: return F("ESP32");
}
return "";
return "Undefined";
}
NodeStruct::NodeStruct() :
age(0), nodeType(0)
age(0), nodeType(0), build(0)
{
for (uint8_t i = 0; i < 4; ++i) { ip[i] = 0; }
}