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

788 Commits

Author SHA1 Message Date
Macro Yau
2a4081b079 Added support for RTC user memory in ESP-specific APIs. (#1836) 2016-06-01 11:13:33 +08:00
mgaman
974b9ae2fa UdpNtpClient rewritten in a clearer, more pedantic fashion. (#2008)
* Create readme.txt

* Add files via upload

* Update RFC1305.h

Added guard lines
2016-06-01 11:12:45 +08:00
unaiur
30720ce87a Fix #2015 ESP8266mDNS doesn't accept queryService responses from avahi-daemon (#2023)
Ignore unknown records (AAAA) in the query response; this way we can extract
the IPv4 address and connect to the server.
2016-06-01 11:11:11 +08:00
NullMedia
d60d744b59 ArduinoOTA library change (#2013)
* Fixed callbacks to allow lambda capture

* Update ArduinoOTA.cpp

* Fixed callbacks to allow lambda capture

* Fixed callbacks to allow lambda capture

* Update ArduinoOTA.h

* Tests update

Update ArduinoOTA.h

Fixed callbacks to allow lambda capture

* Modified callbacks to enable lambda capture

* Modified callbacks to enable lambda capture
2016-06-01 11:10:29 +08:00
Ivan Grokhotkov
3cfad27e38 Merge pull request #2058 from dave-prosee/master
I2C bus reset with status info to user, re issue 1025
2016-06-01 11:09:15 +08:00
Ivan Grokhotkov
a26ec346b3 Merge pull request #2057 from scottfitzenrider/base64Authorization-strip-newlines
Update ESP8266HTTPClient.cpp
2016-06-01 11:04:43 +08:00
Ivan Grokhotkov
c50d6ffb66 Merge pull request #2048 from hotchpotch/ota-gethostname
Add ArduinoOTA::getHostname() interface
2016-06-01 11:03:57 +08:00
Hideki Shiro
2df4a0b426 allow HTTP header value without LWS. 2016-05-27 00:42:47 +09:00
Dave P
099f3a4147 I2C bus reset with info to user
I2C slave might stil have something to send when ESP826 starts I2C, thus
keeping the bus stuck.
Happens e.g. when power failure/reset during transmission.
Thanks to work of drmpf there is a solution.
Implemented as separate method so as not to interfere with existing.
Usage:

Wire.begin();
if (Wire.status() != I2C_OK) Serial.writeln("Something wrong with I2C
bus that cannot be recovered. Perform power cycle or search for other
masters on bus.";
2016-05-26 12:53:48 +02:00
scottfitzenrider
0ac37810ca Update ESP8266HTTPClient.cpp
The libb64 base64 library adds newlines to the base64 encoding of the encoded _base64Authorization String if the encoded string every 72 characters.  This causes problems with the Authorization: Basic http header when the username and password are long.  The change strips out newlines from _base64Authorization right before the header is sent.
2016-05-25 15:07:14 -04:00
Yuichi Tateno
cffdd55759 Add ArduinoOTA::getHostname() interface 2016-05-22 18:17:23 +09:00
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