Skip to content

Commit 2e71a53

Browse files
committed
should at least respond to discovery
1 parent 430331a commit 2e71a53

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/ESP8266SSDP/ESP8266SSDP.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,10 @@ void SSDPClass::_update(){
321321
DEBUG_SSDP.printf("REJECT: %s\n", (char *)buffer);
322322
#endif
323323
}
324+
if(strcmp(buffer, "ssdp:discovery")){
325+
_send(NONE);
326+
state = ABORT;
327+
}
324328
break;
325329
case MX:
326330
_delay = random(0, atoi(buffer)) * 1000L;

0 commit comments

Comments
 (0)