Add HW revision to mDNS for updates

This commit is contained in:
Djuri 2024-05-18 23:00:08 +02:00
parent ef7d629e8c
commit 858241bd57
3 changed files with 12 additions and 2 deletions

View file

@ -94,6 +94,7 @@ void setupWebserver() {
MDNS.addServiceTxt("http", "tcp", "model", "BTClock");
MDNS.addServiceTxt("http", "tcp", "version", "3.0");
MDNS.addServiceTxt("http", "tcp", "rev", GIT_REV);
MDNS.addServiceTxt("http", "tcp", "hw_rev", getHwRev());
}
xTaskCreate(eventSourceTask, "eventSourceTask", 4096, NULL, tskIDLE_PRIORITY,