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

804 Commits

Author SHA1 Message Date
Me No Dev
0063d80c74 "Fix" sketches and libs to use the new upload api 2015-11-19 23:20:03 +02:00
Me No Dev
50eb6d9ff2 Make RequestHandler handle uploads 2015-11-19 22:52:52 +02:00
Me No Dev
d2982d3555 Make ArduinoOTA AUTH async
still up to the user to call ArduinoOTA.handle() to start the upload
2015-11-19 22:49:40 +02:00
Markus Sattler
74e6e9e1a9 Merge remote-tracking branch 'remotes/esp8266/master' 2015-11-17 18:42:14 +01:00
Markus Sattler
a359992fa4 Merge remote-tracking branch 'remotes/esp8266/master' into httpClient 2015-11-17 18:17:58 +01:00
Markus Sattler
70ca494a7f add Response header handling 2015-11-17 17:40:14 +01:00
Ivan Grokhotkov
a2789df2a5 ESP8266httpUpdate: add method overload to allow updates using WiFiClientSecure 2015-11-17 03:13:37 +03:00
Ivan Grokhotkov
e9f0ea2afe WiFiClientSecure: handle full size TLS fragments (#43)
- free up some memory by getting rid of intermediate buffer
- libaxtls: update to 6830d98
    - allocate plaintext buffer in two stages: 4*MSS initially, grow to 16k after handshake
    - free certificate data after handshake is complete
    - preallocate some structures to reduce memory fragmentation
2015-11-17 02:47:57 +03:00
Markus Sattler
95dada180c first httpClient 2015-11-16 19:29:33 +01:00
Markus Sattler
83b452b824 add missing WiFiClientSecure include in ESP8266WiFi.h 2015-11-16 19:28:59 +01:00
Ivan Grokhotkov
74aec438ae Fix "invalid library found" errors with Arduino 1.6.6 (#965)
As per suggestion from @marvinroger
2015-11-16 00:39:54 +03:00
Ivan Grokhotkov
5b28ae23c2 Allow WiFiServer to bind to a specific address (#997)
In addition to the existing constructors (WiFiServer::WiFiServer(port) and WiFiWebServer::WiFiWebServer(port)), new constructors are added:
WiFiServer::WiFiServer(IPAddress, port) and WiFiWebServer::WiFiWebServer(IPAddress, port).
2015-11-15 20:35:52 +03:00
Ivan Grokhotkov
77428baddc WiFiClientSecure rx overflow fixes
- Increase plaintext rx buffer size to 4096
- Request more data from axtls only when rx buffer is empty
2015-11-15 22:38:06 +03:00
sticilface
44900b4772 Merge branch 'master' into master 2015-11-12 11:17:19 +00:00
Andrew Melvin
5c6f98643b Changes to static request handler 2015-11-12 07:27:21 +00:00
Me No Dev
0213dc34ff Skip authentication when password is empty
should have been changed when turned in String
2015-11-12 03:09:04 +02:00
Me No Dev
18f0a9999a add progress option for espota.py and fix typo in ArduinoOTA 2015-11-11 23:23:25 +02:00
Ivan Grokhotkov
6af4bf5496 Merge pull request #988 from JohnSL/issue_987
Exclude the terminator in sendContent_P
2015-11-11 01:11:31 +03:00
Ivan Grokhotkov
92069e657b Replace some manually managed buffers with Strings, fix code style 2015-11-11 01:07:02 +03:00
JohnSL
c0f8ce9d84 Exclude the terminator in sendContent_P
The terminator should not be sent by sendContent_P. For example, if you
have a null-terminated string, the null itself should not be sent to the
client. This change decrements the number of bytes to send so it does
not include the termination character.
2015-11-08 19:28:55 -08:00
Me No Dev
950e9c9522 Let the socket to properly close
python was keeping the connection open and sending duplicate FINs until
the ESP came back online, because the ESP was resetting without giving
the network a chance to answer and close
2015-11-09 02:38:20 +02:00
Me No Dev
13b8cc0a27 Add sanity check so we do not trigger an update from wrong data 2015-11-09 01:47:51 +02:00
Me No Dev
14bb946896 Merge pull request #2 from esp8266/master
pull master
2015-11-09 00:44:44 +02:00
Me No Dev
a8976a01fd Add MD5 to core, Fix OTA examples and Digest Authentication to OTA and espota.py 2015-11-09 00:42:30 +02:00
Ivan Grokhotkov
810ab68ae5 Fix WiFiClientSecure::connected (#43)
thanks @whyameye
2015-11-09 01:37:22 +03:00
Me No Dev
e613e42249 Fix example sketch, espota output and failing updater
I get 100% success with OTA now
2015-11-08 02:01:12 +02:00
Ivan Grokhotkov
adb0dac077 Don't close UDP pcbs when WiFi connection drops (#969) 2015-11-07 23:52:59 +03:00
Me No Dev
83b035d3a1 Merge pull request #1 from esp8266/master
pull master
2015-11-07 22:04:38 +02:00
Me No Dev
843e11100d mDNS, platform and espota.py changes for IDE Upload
mDNS responds with more TXT properties
platform change to support OTA functions
espota.py added authentication parameter
IDE branch: https://github.com/me-no-dev/Arduino-1/tree/esp8266-ota
2015-11-07 22:02:43 +02:00
Marvin Roger
0b89b9b467 Fix FAILD typo 2015-11-06 14:17:45 +01:00
Markus Sattler
6e968aa65f Merge remote-tracking branch 'remotes/esp8266/master' into w5100 2015-11-06 09:36:34 +01:00
Markus Sattler
2a01c2ad53 modified Ethernet (w5100) library to run on the ESP8266
see #962
2015-11-05 21:02:23 +01:00
Markus Sattler
6735cad17a add Ethernet library for W5100 2015-11-05 20:55:55 +01:00
sticilface
0c9892fd24 Update ArduinoOTA.cpp
my bad
2015-11-04 21:38:00 +00:00
sticilface
46658593b0 Update ArduinoOTA.cpp
Restarts the UDP port if it becomes disconnected. Works when for example the wifi is disconnected and reconnected
2015-11-03 19:57:57 +00:00
Marvin Roger
1071e8ada1 Add libraries categories 2015-11-02 19:23:26 +01:00
Kaloyan Kovachev
20de6b8a6a Add SVG as file type and default to binary stream for static handler 2015-11-01 17:59:24 +02:00
Antoine Bertin
fe3003dec3 Update status code reason phrases
As per RFC2616
2015-10-31 16:22:50 +01:00
Ivan Grokhotkov
0772a69b1c Merge pull request #913 from me-no-dev/esp8266
Add SPIFFS WebServer Example
2015-10-28 14:54:31 +03:00
Ivan Grokhotkov
db3e7c812d Merge pull request #920 from pgollor/change-OTA-example
use ArduinoOTA class in OTA-mDNS-SPIFFS example
2015-10-28 14:54:07 +03:00
luc
ee0b8621f3 Add header access using same method as arguments 2
based on @brianensor PR
+sample and some sanity check
2015-10-28 13:58:53 +08:00
Pascal Gollor
c773140a5b use ArduinoOTA class in OTA-mDNS.SPIFFS example 2015-10-22 16:43:00 +02:00
Me No Dev
4c078799ca Add SPIFFS WebServer Example 2015-10-21 14:09:55 +03:00
luc
64754524ec Add _buffer initialization and some sanity check
This seems fix the Exception (28)/ (9) that occur on Captive portal with
Soft AP
2015-10-21 15:30:48 +08:00
Ivan Grokhotkov
a9f9f6d53f Merge pull request #902 from martinayotte/esp8266
add dnsIP() to ESP8266WiFi class
2015-10-18 21:44:41 +02:00
Ivan Grokhotkov
78975cd94c Merge pull request #883 from mangelajo/esp8266-ArduinoOTA
OTA support encapsulated to ArduinoOTA class
2015-10-18 21:43:54 +02:00
Ivan Grokhotkov
28890b39e6 Fix crash in Servo library when flash caching is disabled (#898) 2015-10-18 22:31:33 +03:00
Martin Ayotte
6436a175c4 add dns_no argument to dnsIP() int ESP8266WiFi class 2015-10-18 14:22:24 -04:00
Martin Ayotte
7f318d72cf add dnsIP() to ESP8266WiFi class 2015-10-18 14:18:14 -04:00
Ivan Grokhotkov
000e762af3 Merge pull request #853 from mpromonet/esp8266
avoid to dereference a NULL pointer if update is called before begin
2015-10-17 21:55:25 +02:00