Clemens Kirchgatterer
18297458be
allows global object instances be switch off with defines ( #2344 )
2016-08-01 11:21:50 +08:00
martinayotte
bd01e44c76
fix link list bug in ESP8266mDNS ( #2347 )
2016-08-01 11:21:21 +08:00
Fabian Desoye
3fc3e9a99d
Added PUT Request to HTTP Client ( #2310 )
...
* Added PUT Request to HTTP Client
* Replaced Tabstops with spaces
2016-07-26 18:23:38 +08:00
Clemens Kirchgatterer
4dc4e75216
allow F() to be used for uri parameter ( #2319 )
2016-07-26 18:23:14 +08:00
sk1tt1sh
9c36ff9932
Fix example for ESP8266httpUpdate ( #2251 )
...
* Fix minor typo in spelling of failed. Removed s from http paths.
* add check if we are just updating spiffs to not reboot. example now works with this change.
2016-07-18 19:33:34 +08:00
Sergey Anisimov
98fe5617eb
Adding onComplete event handler support for the asynchronous network scanning. ( #2287 )
2016-07-18 19:30:41 +08:00
Me No Dev
e83f30a78d
Ota hashed password ( #2292 )
...
* Add option to give ArduinoOTA a hashed value of the password
hashed password can be safely stored on flash
* Switch to separate method to accept the hash
* Calculate the hash of plain passwords at setup
* missed line
* Remove underscores from local variable
2016-07-18 19:28:56 +08:00
andig
c4f9f102ce
Add getCommand() api for OTA update type ( #2259 )
2016-07-15 11:03:34 +03:00
Me No Dev
1f7989b31d
Implement Async NBNS (NetBIOS) name resolution for Windows ( #2275 )
...
* Implement Async NBNS (NetBIOS) Name resolution for windows
Source: http://www.xpablo.cz/?p=751#more-751
2016-07-15 10:40:31 +03:00
Me No Dev
217ba9e072
fix typo in hspi_slave.c ( #2276 )
...
Current C++ implementation has this field hardcoded, so this case was
never hit
2016-07-15 09:53:20 +03:00
Me No Dev
07f4d4c241
Lwip addons ( #2260 )
...
* Add multicast TTL to UDP and rework UdpContext
* Add limit for TCP TIME_WAIT pcbs
* Add liblwip_gcc.a
* Make the changes be backward compatible with the current xcc version
2016-07-11 21:07:45 +08:00
SteveToulouse
86067333f5
Fix2115 ( #2244 )
...
* Update ESP8266WiFiMulti.cpp
Fix #2115
* Update ESP8266WiFiMulti.cpp
Fix #2115 . Cleaner version (catch strdup("") fail).
2016-07-08 10:12:22 +08:00
Jeroen Vogelpoel
edba2d2829
Exposed sketch MD5 through HTTP headers ( #2236 )
...
* Exposed sketch MD5 through HTTP headers
* Updated spacing, docs, example
2016-07-08 10:07:21 +08:00
Me No Dev
0d996ab75e
fix plain post content containing special chars being parsed as arguments ( #2241 )
...
this solution actually keeps the content as is, as long as it's text
(does not contain zeroes)
2016-07-07 00:59:26 +03:00
Me No Dev
4217e49b54
Initial SPI Slave implementation and examples ( #2234 )
...
* Initial SPI Slave implementation and examples
* Update style and info
2016-07-06 10:58:45 +08:00
Ivan Grokhotkov
39212baeb0
Fix WiFi.onStationModeDHCPTimeout ( #2195 )
2016-07-04 15:47:55 +08:00
Me No Dev
e7a529eb45
Fix missing separator between get and post arguments ( #2222 )
...
* fix urlDecode points
Fixes:
https://github.com/esp8266/Arduino/issues/1989
https://github.com/esp8266/Arduino/issues/2198
* Add missing separator between get and plain post arguments
2016-07-04 09:08:31 +03:00
Me No Dev
af06847f4a
fix urlDecode points ( #2212 )
...
Fixes:
https://github.com/esp8266/Arduino/issues/1989
https://github.com/esp8266/Arduino/issues/2198
2016-07-01 02:37:15 +03:00
Me No Dev
6390cf6bd6
Chunked encoding ( #2199 )
...
* Add chunked encoding
example:
```cpp
server.on("/chunked", HTTP_GET, [](){
server.send(200, "text/html", String());
server.sendContent("<!DOCTYPE html><html><head><title>Chunked
Test</title></head><body>");
server.sendContent("<p>Chunk 1</p>");
server.sendContent("<p>Chunk 2</p>");
server.sendContent("<p>Chunk 3</p>");
server.sendContent("<p>Chunk 4</p>");
server.sendContent("<p>Chunk 5</p>");
server.sendContent("<p>Chunk 6</p>");
server.sendContent("</html>");
server.sendContent("");//end of chunked
});
```
* update examples, keep setContentLength and add bool _chunked
* fix wrong session id
* set _chunked to false earlier for cases where users use only sendContent
2016-06-28 14:35:12 +08:00
Ivan Grokhotkov
8db4dcea42
WifiClient::write refactoring (second attempt) ( #2177 )
...
* WiFiClient: use DataSource for writes
* ESP8266WebServer: delegate writing to WiFiClient
* ESP8266WebServer: set write timeout before sending content
2016-06-23 17:47:18 +08:00
Ivan Grokhotkov
e64e32b329
Fix regression in WiFiClientSecure, update HTTPS test case ( #2150 )
2016-06-15 11:49:51 +08:00
Ivan Grokhotkov
da17d5425a
Fix regression in WiFi.onEvent, add testcase (thanks @everslick)
2016-06-14 13:09:46 +08:00
Ivan Grokhotkov
b4490cd76d
Fix issue when WiFi.begin(ssid, pass) is called right after WiFi.mode(WIFI_OFF)
...
If ssid and pass matched the values in flash, wifi_station_connect was not called and no connection was attempted
2016-06-14 13:07:08 +08:00
Ivan Grokhotkov
91720337d3
Prevent WDT resets in SD library ( #1815 )
2016-06-13 19:30:58 +08:00
Ivan Grokhotkov
43412970ae
Fix for crash in WiFiClientSecure when WiFi is disconnected ( #2139 )
...
* WiFiClient: implement stopAll() via stop()
* WiFiClientSecure: clean up ClientContext used by axTLS when stop is called (#2097 )
2016-06-13 18:36:30 +08:00
Ivan Grokhotkov
35fd2ccd52
Make ESP8266WebServer::urlDecode public ( #1419 )
2016-06-13 15:17:17 +08:00
Ivan Grokhotkov
9dd7910aed
Enable SO_REUSE in LwIP and WiFiServer ( #1431 ) ( #2140 )
2016-06-13 10:36:10 +08:00
Ivan Grokhotkov
00065ac347
Allow DHCP client to be re-enabled using WiFi.config(0U, 0U, 0U) ( #1896 )
2016-06-12 14:44:15 +08:00
Ivan Grokhotkov
17c02ff252
ESP8266mDNS: restart listening when WiFi STA is connected/disconnected ( #1828 )
2016-06-12 14:17:27 +08:00
Ivan Grokhotkov
de166c9dd7
WiFi event handling refactoring ( #2119 )
2016-06-10 07:46:10 +08:00
Ivan Grokhotkov
7fd7ca6834
WiFiServer: fix error when calling close
more than once
2016-06-08 17:32:45 +08:00
Anton Sokolchenko
533a600d95
Add virtual destructor to WiFiServer class ( #2116 )
...
Without this line compiler complains about :
Warning 22:9: warning: deleting object of polymorphic class type 'WiFiServer' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] \\Mac\Home\Documents\Visual Studio 2015\Projects\BlinkESP8266_12\ActAsWiFi_server\SVServer.cpp 22
Reason for this is that I would like to init WiFiServer with port which can by dynamically chosen (for example by serial port)
internalServer = new WiFiServer(port);
2016-06-08 15:51:50 +08:00
Me No Dev
a7ced9cabb
make HTTP Update Server more secure ( #2104 )
...
* make HTTP Update Server more secure
* added option for authentication
* added option to change the url for upload
* move to overloaded setup
* remove delay in both examples
* Get better result responses
* fix strings
interesting, the meta did not refresh if the successResponse is put in
"R"
2016-06-07 10:09:05 +08:00
shiro
dbef28d394
add "include <ESP8266WiFi.h>" to ESP8266WebServer.h ( #2094 )
2016-06-06 12:21:01 +08:00
Ivan Grokhotkov
dd81336b79
ESP8266HTTPClient: fix duplicate Content-Length headers ( #1902 )
2016-06-03 16:11:44 +08:00
Ivan Grokhotkov
9db0393b65
Update RTC memory example
2016-06-02 14:34:28 +08:00
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