1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

1116 Commits

Author SHA1 Message Date
Markus Sattler
e6c661e7ba allow reuse of tcp connection to send multiple request to one server
add writeToStream function for easy payload usage
2015-11-22 15:34:10 +01:00
Markus Sattler
ca092f4754 fix warnings 2015-11-22 15:01:38 +01:00
Markus Sattler
464b9f2bfb improve error handling
add httpClient::sendRequest ( universal request send )
2015-11-22 15:00:14 +01:00
Markus Sattler
3b24638c50 Merge remote-tracking branch 'remotes/esp8266/master' into httpClient 2015-11-22 11:35:09 +01:00
Markus Sattler
0a8f5be257 add more documentation and cleanup the example 2015-11-22 11:27:32 +01:00
Markus Sattler
1e7b9688a5 add examples/BasicHttpClient/BasicHttpClient.ino
fix get size
only fingerprint when strlen > 0
2015-11-22 11:09:48 +01:00
Me No Dev
bc48022118 spend more time understanding the logic 2015-11-21 21:29:54 +02:00
Me No Dev
fe9dc913b4 unref udp if exists 2015-11-21 21:14:11 +02:00
Me No Dev
94a7f63cda fix static handler 2015-11-21 21:04:07 +02:00
Ivan Grokhotkov
ab16b2fe0d Fix typo 2015-11-21 20:09:18 +03:00
Ivan Grokhotkov
40da463ee6 ESP8266WiFi library: add persistent option, fix #1054 2015-11-21 20:06:10 +03:00
Ivan Grokhotkov
8bf1e98f24 Improve debug output on critical errors 2015-11-21 20:04:38 +03:00
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