mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 19:19:00 +08:00
Library update
This commit is contained in:
parent
be1b47f9ac
commit
225db55f64
@ -45,7 +45,7 @@ before_script:
|
||||
- git submodule update --init
|
||||
- cd tools
|
||||
- python get.py
|
||||
- cp -r $TRAVIS_BUILD_DIR/libraries/ESP32SSDP-1.1.0 $HOME/arduino_ide/libraries/
|
||||
- cp -r $TRAVIS_BUILD_DIR/libraries/ESP32SSDP-1.1.1 $HOME/arduino_ide/libraries/
|
||||
- cp -r $TRAVIS_BUILD_DIR/libraries/arduinoWebSockets-2.3.0 $HOME/arduino_ide/libraries/
|
||||
- cp -r $TRAVIS_BUILD_DIR/libraries/DHT_sensor_library_for_ESPx-1.0.6 $HOME/arduino_ide/libraries/
|
||||
- cp -r $TRAVIS_BUILD_DIR/libraries/esp8266-oled-ssd1306-4.0.0 $HOME/arduino_ide/libraries/
|
||||
|
@ -87,8 +87,8 @@ static const char _ssdp_schema_template[] PROGMEM =
|
||||
"<manufacturerURL>%s</manufacturerURL>"
|
||||
"<UDN>uuid:%s</UDN>"
|
||||
"<serviceList>%s</serviceList>"
|
||||
"</device>"
|
||||
"<iconList>%s</iconList>"
|
||||
"</device>"
|
||||
"</root>\r\n"
|
||||
"\r\n";
|
||||
|
||||
@ -97,20 +97,20 @@ struct SSDPTimer {
|
||||
};
|
||||
|
||||
SSDPClass::SSDPClass() :
|
||||
_server(0),
|
||||
_timer(0),
|
||||
_port(80),
|
||||
_ttl(SSDP_MULTICAST_TTL),
|
||||
_interval(SSDP_INTERVAL),
|
||||
_replySlots{NULL},
|
||||
_respondToAddr{0,0,0,0},
|
||||
_respondToPort(0),
|
||||
_pending(false),
|
||||
_stmatch(false),
|
||||
_delay(0),
|
||||
_process_time(0),
|
||||
_notify_time(0)
|
||||
_respondToAddr{0,0,0,0}
|
||||
{
|
||||
_server = nullptr;
|
||||
_timer = nullptr;
|
||||
_port = 80;
|
||||
_ttl = SSDP_MULTICAST_TTL;
|
||||
_interval = SSDP_INTERVAL;
|
||||
_respondToPort = 0;
|
||||
_pending = false;
|
||||
_stmatch = false;
|
||||
_delay=0;
|
||||
_process_time = 0;
|
||||
_notify_time = 0;
|
||||
_uuid[0] = '\0';
|
||||
_usn_suffix[0] = '\0';
|
||||
_respondType[0] = '\0';
|
@ -160,7 +160,7 @@ protected:
|
||||
WiFiUDP *_server;
|
||||
SSDPTimer* _timer;
|
||||
uint16_t _port;
|
||||
uint8_t _ttl;
|
||||
uint32_t _ttl;
|
||||
uint32_t _interval;
|
||||
|
||||
ssdp_reply_slot_item_t *_replySlots[SSDP_MAX_REPLY_SLOTS];
|
@ -1,5 +1,5 @@
|
||||
name=ESP32SSPD
|
||||
version=1.1.0
|
||||
name=ESP32SSDP
|
||||
version=1.1.1
|
||||
author=Me-No-Dev
|
||||
maintainer=luc-github
|
||||
sentence=Simple SSDP library for ESP32
|
Loading…
x
Reference in New Issue
Block a user