mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Add MDNS discovery
This commit is contained in:
parent
e37d38e399
commit
cf5c02d487
@ -73,9 +73,9 @@ void mdnsStart()
|
||||
strcpy_P(key, PSTR("version"));
|
||||
MDNS.addServiceTxt(service, proto, key, haspDevice.get_version());
|
||||
|
||||
// strcpy_P(key, PSTR("app_name"));
|
||||
// strcpy_P(key, PSTR("name"));
|
||||
// strcpy_P(value, PSTR(D_MANUFACTURER));
|
||||
MDNS.addServiceTxt(service, proto, key, value);
|
||||
// MDNS.addServiceTxt(service, proto, key, value);
|
||||
|
||||
strcpy_P(key, PSTR("discovery"));
|
||||
StaticJsonDocument<1024> doc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user