From 8b9f78eed3f845f63c7e615aeeaf627e99b9eaf2 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Tue, 26 Apr 2016 07:55:03 +0100 Subject: [PATCH] Switch SSDP send arguments around They are in the wrong order - `_ssdp_packet_template` expects `_uuid` to be before the NT/ST header. --- libraries/ESP8266SSDP/ESP8266SSDP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266SSDP/ESP8266SSDP.cpp b/libraries/ESP8266SSDP/ESP8266SSDP.cpp index 4701305c0..0fe7ced4e 100644 --- a/libraries/ESP8266SSDP/ESP8266SSDP.cpp +++ b/libraries/ESP8266SSDP/ESP8266SSDP.cpp @@ -206,9 +206,9 @@ void SSDPClass::_send(ssdp_method_t method){ (method == NONE)?_ssdp_response_template:_ssdp_notify_template, SSDP_INTERVAL, _modelName, _modelNumber, + _uuid, (method == NONE)?"ST":"NT", _deviceType, - _uuid, IP2STR(&ip), _port, _schemaURL );