Add mac address to mDNS announcement (#305)

This commit is contained in:
cschwinne 2019-10-29 01:30:07 +01:00
parent ddaaae46a6
commit 6eef3a9037
2 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,7 @@
//version code in format yymmddb (b = daily build)
#define VERSION 1910291
#define VERSION 1910292
char versionString[] = "0.8.6";

View File

@ -218,6 +218,7 @@ void initInterfaces() {
DEBUG_PRINTLN("mDNS started");
MDNS.addService("http", "tcp", 80);
MDNS.addService("wled", "tcp", 80);
MDNS.addServiceTxt("wled", "tcp", "mac", escapedMac.c_str());
}
server.begin();