Skip to content

Commit 33988ca

Browse files
Update mDNS-SD_Extended example to include service name
1 parent e6670a4 commit 33988ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: libraries/ESPmDNS/examples/mDNS-SD_Extended/mDNS-SD_Extended.ino

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ void browseService(const char *service, const char *proto) {
6868
Serial.print(" ");
6969
Serial.print(i + 1);
7070
Serial.print(": ");
71+
Serial.print(MDNS.instanceName(i));
72+
Serial.print(" - ");
7173
Serial.print(MDNS.hostname(i));
7274
Serial.print(" (");
7375
Serial.print(MDNS.address(i));

0 commit comments

Comments
 (0)