1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Switch SSDP send arguments around

They are in the wrong order - `_ssdp_packet_template` expects `_uuid` to be before the NT/ST header.
This commit is contained in:
Alex Potsides 2016-04-26 07:55:03 +01:00
parent edaae2c194
commit 8b9f78eed3

View File

@ -206,9 +206,9 @@ void SSDPClass::_send(ssdp_method_t method){
(method == NONE)?_ssdp_response_template:_ssdp_notify_template, (method == NONE)?_ssdp_response_template:_ssdp_notify_template,
SSDP_INTERVAL, SSDP_INTERVAL,
_modelName, _modelNumber, _modelName, _modelNumber,
_uuid,
(method == NONE)?"ST":"NT", (method == NONE)?"ST":"NT",
_deviceType, _deviceType,
_uuid,
IP2STR(&ip), _port, _schemaURL IP2STR(&ip), _port, _schemaURL
); );