We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1950b10 commit 9b880e7Copy full SHA for 9b880e7
libraries/ESP8266SSDP/ESP8266SSDP.cpp
@@ -321,12 +321,11 @@ void SSDPClass::_update(){
321
DEBUG_SSDP.printf("REJECT: %s\n", (char *)buffer);
322
#endif
323
}
324
- // if the search type matches our type, we should respond
325
- if(strcmp(buffer, _deviceType)){
+ // if the search type matches our type, we should respond instead of ABORT
+ if(strcmp(buffer, _deviceType) == 0){
326
_pending = true;
327
_process_time = millis();
328
state = KEY;
329
- cursor += strlen(_deviceType);
330
331
break;
332
case MX:
0 commit comments