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
Ivan Grokhotkov
e62d5a92b9 Fix ESP8266WebServer::serveStatic to work for both files and directories 2015-09-14 12:47:39 +03:00
Ivan Grokhotkov
f73d414f38 WiFiClientSecure: add certificate fingerprint verification (#43) 2015-09-14 10:22:54 +03:00
Jeff Ashton
eb8c1faa51 Adding support for OPTIONS requests to ESP8266WebServer 2015-09-13 15:56:34 -04:00
Ivan Grokhotkov
c970dec6a7 Add HTTPS request sample (#43) 2015-09-13 22:50:14 +03:00
Ivan Grokhotkov
098c71ca02 Improve receive handling in TLS support (#43) 2015-09-13 22:49:30 +03:00
Martin Ayotte
5cb086bc05 temporarly fix for handling PGM_P content_type properly in ESP8266WebServer::send_P() functions 2015-09-09 12:03:07 -04:00
Martin Ayotte
348efba5b2 Merge remote-tracking branch 'upstream/esp8266' into esp8266 2015-09-09 10:54:30 -04:00
Ivan Grokhotkov
0fb1b07b2f Merge pull request #757 from Links2004/esp8266
fix _useClientMode & _useApMode in SDK auto connect mode (#754)
2015-09-09 01:52:14 +03:00
Luc
75843263f2 Remove DEBUG defined by default in library
DEBUG should be defined outside the library to enable it  not enabled by
default in library itself
2015-09-07 23:24:27 +08:00
Markus Sattler
6a9eaca8b2 #754 fix _useClientMode & _useApMode in SDK auto connect mode 2015-09-07 17:11:30 +02:00
Martin Ayotte
27b67f4adc add ESP8266WebServer::send_P with contentLength argument 2015-09-06 14:17:23 -04:00
Martin Ayotte
1c9456ac9d fix bug in WiFiClient::write_P/ESP8266WebServer::sendContent_P introduced few minutes ago when changing memccpy_P to memcpy_P 2015-09-06 14:14:36 -04:00
Martin Ayotte
e3e25da792 fix bug in WiFiClient::write_P/ESP8266WebServer::sendContent_P introduced few minutes ago when changing memccpy_P to memcpy_P 2015-09-06 14:04:57 -04:00
Martin Ayotte
82748a872c add ESP8266WebServer::sendContent_P with 'size_t size' argument for binary content 2015-09-06 13:27:12 -04:00
Martin Ayotte
389107f09d fix bug in WiFiClient::write_P when content was binary 2015-09-06 13:09:57 -04:00
Ivan Grokhotkov
e0b7e0443c Merge pull request #736 from kzyapkov/avrisp
AVRISP: allow configuring active-high/low reset programatically
2015-09-01 20:47:23 +03:00
Ivan Grokhotkov
9a2f2f2849 Add axTLS, first draft of WiFiClientSecure (#43) 2015-09-01 15:45:12 +03:00
Ivan Grokhotkov
41fbe93560 AdvancedWebServer: remove mDNS from loop as well 2015-09-01 01:09:21 +03:00
Ivan Grokhotkov
143f29bc29 Fix mDNS library usage in ESP8266WebServer examples 2015-09-01 00:58:27 +03:00
Kiril Zyapkov
cbbb379941 AVRISP: allow configuring active-high/low reset programatically 2015-08-31 14:28:24 +03:00
Ivan Grokhotkov
a9fbe27cba Merge pull request #729 from Links2004/esp8266
fix mac 599 for ESP8266HTTPUpdate
2015-08-31 09:38:28 +03:00
Ivan Grokhotkov
33de15e616 Merge pull request #718 from sticilface/patch-1
Update Parsing.cpp
2015-08-31 09:37:31 +03:00
Ivan Grokhotkov
4995d03b20 Merge pull request #714 from martinayotte/esp8266
add toCharArray() to IPAddress class
2015-08-31 09:37:22 +03:00
Markus Sattler
f96ea403dd port stopAllExcept to WiFiUDP to keep the interface the same 2015-08-29 15:39:12 +02:00
Markus Sattler
966bf45b35 rename stopAllexcepted to stopAllExcept and simplify the compare 2015-08-29 15:33:41 +02:00
Markus Sattler
79bec479b5 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/Updater.cpp
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src/include/ClientContext.h
2015-08-29 13:47:25 +02:00
Markus Sattler
8e50cdb190 Updater.cpp:
- use new AutoInterruptLock
 - add delay to give the RTOS some time to handle TCP

WiFiClient.cpp
 - add stopAllexcepted to cancel all TCP excepted one

ClientContext.h
 - add getLocalPort()

ESP8266HTTPUpdate.cpp
 - close all not needed TCP and UDP

osapi.h
 - missing commit from SDK
2015-08-29 13:45:58 +02:00
sticilface
00272ca5ae Update Parsing.cpp
Remove DEBUG enabled by default
2015-08-23 23:48:50 +01:00
Martin Ayotte
e89ae46a6b add WiFiClient::write_P to be used with PROGMEM 2015-08-22 00:25:28 -04:00
aalku
0bb4fb2886 Better captive portal example.
This example serves a "hello world" on a WLAN and a SoftAP at the same
time.
The SoftAP allow you to configure WLAN parameters at run time. They are
not setup in the sketch but saved on EEPROM.
This is a captive portal because through the softAP it will redirect any
http request to http://192.168.4.1/, served by the ESP8266 itself
2015-08-19 13:20:01 +03:00
aalku
5a91c66615 Host header support 2015-08-19 13:20:01 +03:00
aalku
acc34e2914 LocalIP/LocalPort support 2015-08-19 13:18:43 +03:00
aalku
a2f3637ed4 Fixes by SwiCago on DNSServer
Fixes by SwiCago on this forum comment
http://www.esp8266.com/viewtopic.php?p=23900#p23900
2015-08-19 13:18:43 +03:00
Ivan Grokhotkov
278c980ed8 Make file uploads using curl fail less often 2015-08-18 23:40:33 +03:00
Ivan Grokhotkov
43d80ee2ec Fix forward declaration of FS 2015-08-12 22:40:21 +03:00
Ivan Grokhotkov
c5d7aead8e Merge pull request #672 from timw1971/patch-1
Improvements to ESP8266WebServer::sendContent
2015-08-10 17:36:48 +03:00
Ivan Grokhotkov
6cf18ed1a2 Multicast in SoftAP mode (#96)
SDK 1.3 fixed a bug which caused multicast UDP to fail on SoftAP interface. Update MDNSResponder and documentation appropriately.
2015-08-10 16:14:26 +03:00
Ivan Grokhotkov
34be16c8da Add example for storing JSON config file in SPIFFS 2015-08-10 15:15:06 +03:00
Ivan Grokhotkov
7bfd425754 Update to SDK 1.3.0 2015-08-10 10:51:09 +03:00
timw1971
15991fb35a Improvements to ESP8266WebServer::sendContent
Now makes only one call to .c_str() and using pointer tracking, rather that recalculating offset within the sending loop, to manage data window.

Moved invariant code out of the sending loop body.
2015-08-08 11:48:18 +01:00
Ivan Grokhotkov
afd0ca23a0 EEPROM: round requested size to 4 byte boundary (#659) 2015-08-05 09:00:17 -04:00
Ivan Grokhotkov
5cbaa57af9 Resolve naming conflicts between FS and SD library 2015-08-05 08:36:43 -04:00
Ivan Grokhotkov
be2303f198 Merge pull request #648 from kzyapkov/avrisp
ESP8266AVRISP library
2015-08-05 08:06:55 -04:00
Ivan Grokhotkov
a0172dd93a Merge pull request #649 from Makuna/interrupts
Interrupt cleanup
2015-08-05 08:04:00 -04:00
Ivan Grokhotkov
e8b27912d7 ESP8266WebServer: serve static files from FS 2015-08-05 07:44:00 -04:00
Kiril Zyapkov
4bf286954e ESP8266AVRISP: allow setting SPI freq and reset, postpone SPI init 2015-08-04 23:24:52 +03:00
Kiril Zyapkov
d5ab22f4ae ESP8266AVRISP: switch default to active-low reset 2015-08-04 13:45:38 +03:00
Makuna
57642c10b6 Interrupt cleanup
Fixes issue of reentrant calls to nointerrupts()
exposed functional replacements to cli sei and SREG when dealing with
interrupts
InterruptLock class to auto stop and restore interrupt level
Fix user ISR calls to be like Arduino with interrupts disabled fully.
2015-08-03 19:35:17 -07:00
Kiril Zyapkov
56b70f6aab ESP8266AVRISP: add README.md 2015-08-04 01:33:00 +03:00
Kiril Zyapkov
5ac5d8e008 ESP8266AVRISP: initial 2015-08-04 01:08:24 +03:00