Added logURL to MDNS broadcast
Broadcast as "logURL" only if Web Logging is enabled.
This commit is contained in:
parent
f37889f8da
commit
33042f191e
|
|
@ -563,6 +563,8 @@ void Span::checkConnect(){
|
|||
}
|
||||
|
||||
if(webLog.isEnabled){
|
||||
mdns_service_txt_item_set("_hap","_tcp","logURL",webLog.statusURL.c_str()+4); // Web Log Enabled (info only - NOT used by HAP)
|
||||
|
||||
Serial.printf("Web Logging enabled at http://%s.local:%d%swith max number of entries=%d\n\n",hostName,tcpPortNum,webLog.statusURL.c_str()+4,webLog.maxEntries);
|
||||
webLog.initTime();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue