mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
ssdp fixed
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
extern void SsdpInit();
|
||||
extern String xmlNode(String tags, String data);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <ESP8266SSDP.h>
|
||||
//#include <ESP8266SSDP.h>
|
||||
#include <SSDP.h>
|
||||
|
||||
#include "Global.h"
|
||||
@@ -33,9 +33,9 @@ void SsdpInit() {
|
||||
request->send(200, "text/xml", ssdpSend);
|
||||
});
|
||||
//Если версия 2.0.0 закаментируйте следующую строчку
|
||||
SSDP.setDeviceType("upnp:rootdevice");
|
||||
SSDP.setSchemaURL("description.xml");
|
||||
SSDP.begin();
|
||||
//SSDP.setDeviceType("upnp:rootdevice");
|
||||
//SSDP.setSchemaURL("description.xml");
|
||||
//SSDP.begin();
|
||||
}
|
||||
|
||||
String xmlNode(String tags, String data) {
|
||||
|
||||
Reference in New Issue
Block a user