ESP3D
3.0
Firmware for ESP boards connected to 3D Printer
handle-description_xml.cpp
Go to the documentation of this file.
1
/*
2
handle-SSDP.cpp - ESP3D http handle
3
4
Copyright (c) 2014 Luc Lebosse. All rights reserved.
5
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Lesser General Public
8
License as published by the Free Software Foundation; either
9
version 2.1 of the License, or (at your option) any later version.
10
11
This library is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public
17
License along with this library; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
#include "../../../include/esp3d_config.h"
21
#if defined (HTTP_FEATURE) && defined (SSDP_FEATURE)
22
#include "../http_server.h"
23
#if defined (ARDUINO_ARCH_ESP32)
24
#include <WebServer.h>
25
#ifdef SSDP_FEATURE
26
#include <ESP32SSDP.h>
27
#endif //SSDP_FEATURE
28
#endif //ARDUINO_ARCH_ESP32
29
#if defined (ARDUINO_ARCH_ESP8266)
30
#include <ESP8266WebServer.h>
31
#ifdef SSDP_FEATURE
32
#include <ESP8266SSDP.h>
33
#endif //SSDP_FEATURE
34
#endif //ARDUINO_ARCH_ESP8266
35
void
HTTP_Server::handle_SSDP()
36
{
37
SSDP.schema(_webserver->client());
38
}
39
#endif //HTTP_FEATURE && SSDP_FEATURE
esp3d
src
modules
http
handles
handle-description_xml.cpp
Generated by
1.8.17