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

777 Commits

Author SHA1 Message Date
Ivan Grokhotkov
e8b8a606e4 Update axTLS to 139914f
- Fix occasional software WDT due to lengthy bigint operations
- Implement truly blocking reads as a workaround for half-duplex nature of axTLS
2016-05-10 23:34:33 +08:00
Ivan Grokhotkov
542b05e543 If GDBStub library is used, break into gdb on assert and panic 2016-05-10 21:30:53 +08:00
Ivan Grokhotkov
4b3c36b430 GDBStub: fix section attribute for core gdbstub functions 2016-05-10 16:11:08 +08:00
Ivan Grokhotkov
f2fb43cabf Prevent WiFi config corruption (#1997 #1856 #1699 #1675) 2016-05-10 15:27:06 +08:00
b-pas
74bd4f9200 include non-standard ports in Host: header 2016-05-07 10:56:24 -04:00
Ivan Grokhotkov
a2b82ed6b6 Use gcc-built LwIP by default (#1926)
It is still possible to use xcc-built LwIP by selecting "Core Development" board from tools menu.
2016-05-06 20:09:15 +08:00
Ivan Grokhotkov
fecddba827 Merge pull request #1998 from luc-github/master
Fix WiFiSleepType_t values to match SDK ones
2016-05-05 21:59:30 -05:00
luc
f95f0ed321 Fix WiFiSleepType_t values to match SDK ones 2016-05-05 19:38:32 +02:00
Alex Potsides
1020c42291 Merge branch 'master' into patch-1 2016-04-26 14:17:35 +01:00
Ivan Grokhotkov
33723a9b52 Fix UdpContext::peek to return int (#1946) 2016-04-26 16:02:07 +08:00
Ivan Grokhotkov
334837533f Add missing virtual destructor in TransportTraits (#1944) 2016-04-26 16:00:46 +08:00
Ivan Grokhotkov
76e322f2e7 Fix handling of chunked transfer encoding (#1975) 2016-04-26 15:58:12 +08:00
Alex Potsides
8b9f78eed3 Switch SSDP send arguments around
They are in the wrong order - `_ssdp_packet_template` expects `_uuid` to be before the NT/ST header.
2016-04-26 07:55:03 +01:00
Ivan Grokhotkov
edaae2c194 HTTPClient: fix default port not being set 2016-04-25 21:03:39 +08:00
Ivan Grokhotkov
81d3bb3e3a Return error when HTTPClient::begin is called with HTTPS URL without certificate fingerprint (#1941) 2016-04-22 19:21:57 +08:00
Andronicus Riyono
46fccac3e5 fix bug #1940 2016-04-20 14:09:41 +08:00
Ivan Grokhotkov
8c65f2fcd0 Update axTLS to fe4518d, SNI support in WiFiClientSecure (#1285)
Fixes #1933
2016-04-19 08:29:13 +03:00
Ivan Grokhotkov
7e4e1a4bc6 Merge pull request #1930 from WereCatf/master
Speed up writePattern() a bit more
2016-04-18 11:03:02 +03:00
Ivan Grokhotkov
7450dd39ca ESP8266WebServer: save RAM by moving response strings to flash (#1732) 2016-04-18 10:43:00 +03:00
Ivan Grokhotkov
f6516b004f ESP8266WebServer: fix handling of empty POST
Fix handling of case when Content-Length is 0.
Change do {} while() loop into while(){} so that we don't wait 1000ms for data in case Content-Length is 0.
Also fix handling of cases when malloc or realloc return null.
2016-04-18 10:33:10 +03:00
WereCatf
8ffe1aa2e2 Speed up writePattern() a bit more 2016-04-18 01:26:03 +03:00
WereCatf
a64a694f6d Speed up SPI.writePattern() 2016-04-16 20:02:06 +03:00
Ivan Grokhotkov
3bc3a87efb Web server: wait for data to arrive
Web server: wait for request body until either contentLength is received, or no data is received within 1000ms interval.
2016-04-13 15:11:08 +03:00
Ivan Grokhotkov
f3b6ec16e6 Merge pull request #1857 from esp8266/http_client_refactoring
HTTP Client library: decouple TLS handling
2016-04-13 15:00:34 +03:00
Ivan Grokhotkov
18f66e9969 Merge pull request #1892 from me-no-dev/lwipsrc
Update and move lwIP headers, add options to use different lwIP build for generic device
2016-04-13 14:32:04 +03:00
Ivan Grokhotkov
6ad7cae6be Merge pull request #1859 from Cross22/master
Fix SPI.transfer16() using wrong endianness
2016-04-13 14:18:24 +03:00
Ivan Grokhotkov
e82b74eab2 Merge pull request #1850 from 4m1g0/fixPSK
Allow PSK instead of passphrase in WiFiSTA::begin
2016-04-13 14:17:46 +03:00
Ivan Grokhotkov
fa7e9037a4 Merge pull request #1880 from sauttefk/master
Re-enable old behaviour if passphrase string is empty
2016-04-13 14:17:13 +03:00
Ivan Grokhotkov
84daa1a108 Add explicit cast (#1903) 2016-04-13 14:03:11 +03:00
Ivan Grokhotkov
46380003d5 Fix compilation when debug is enabled 2016-04-13 14:02:10 +03:00
Górász Péter
b72cf2cdcf if data loss, exit 2016-04-13 08:20:07 +02:00
Peter
41bd7af07e slow client/network read fix 2016-04-11 16:36:37 +02:00
4m1g0
a06ceb8191 Merge branch 'master' into fixPSK 2016-04-10 23:38:52 +02:00
Me No Dev
bfe9f7be69 Update and move lwIP headers, add options to use different lwIP build for generic device
Makefile added to lwip source folder to build and install liblwip_gcc.a
2016-04-10 21:55:22 +03:00
Ivan Grokhotkov
a455f22587 HTTPClient, HTTPUpdate: save some RAM by moving strings into flash 2016-04-09 12:46:29 +03:00
Ivan Grokhotkov
bf7f33d918 Fix code formatting 2016-04-09 12:46:29 +03:00
Ivan Grokhotkov
bbc5e9ba01 Update library versions 2016-04-09 12:46:29 +03:00
Ivan Grokhotkov
c450023a32 ESP8266httpUpdate: decouple HTTPS overloads 2016-04-09 12:46:29 +03:00
Ivan Grokhotkov
cae4039225 HTTPClient: decouple transport layer handling 2016-04-09 12:46:29 +03:00
Ivan Grokhotkov
93d57fabe2 Remove overloads of HTTPClient::begin which take const char*
Since the data is stored as Strings internally, these methods do not serve as an optimisation
2016-04-09 12:46:29 +03:00
Jacob Killelea
1bfec4ea8e Spelling correction in comments 2016-04-08 19:21:58 -06:00
Frank Sautter
4684e44902 Re-enable old behaviour if passphrase string is empty
An empty passphrase string should enable AUTH_OPEN mode of softAP.
This was the behaviour before commit 293e55c.
Additionally make the type of checking for empty strings consistent.
2016-04-08 10:26:11 +02:00
gpepe
502c45c157 Update Parsing.cpp 2016-04-08 04:40:51 +02:00
gpepe
3a95fb5a94 Update Parsing.cpp 2016-04-07 23:32:04 +02:00
gpepe
8c675236c7 Update Parsing.cpp
Complete read POST/GET request.
2016-04-07 22:22:16 +02:00
Hemal Chevli
e4e182a966 Rectified mistake in if condition
thanks to @chaeplin for finding the mistake
2016-04-05 13:12:22 +05:30
Hemal Chevli
81859c5df6 Changed timeout logic
Changed timeout to unsigned long. Using addition with millis() is not recommended. 
Source: http://www.gammon.com.au/millis
2016-04-05 10:53:15 +05:30
Marco
bda212552c Fix SPI.transfer16() using wrong endianness 2016-04-04 22:10:36 -07:00
4m1g0
1b8f6d2e8e Allow PSK instead of passphrase in WiFiSTA::begin
In WPA protocol, the maximum length of the passphrases are 64 characters in order to distinguish them from the actual PSK who is 64 ASCII characters long, so in most systems if a 64 chars string is passed, it is assumed to be a PSK, otherwise is treated as a passphrase and is used to compute the PSK.
2016-04-03 03:31:57 +02:00
Ivan Grokhotkov
633e48f3ae Servo: use peripheral clock frequency when calculating FRC1 tick count (#1789) 2016-03-24 01:48:23 +03:00