1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00
Commit Graph

400 Commits

Author SHA1 Message Date
6978b6a777 OTA support encapsulated to ArduinoOTA class 2015-10-12 10:29:18 +02:00
0bd3b72550 Fix bug with SSLContext not being initialized (#43) 2015-10-07 01:01:38 +03:00
ed785b5f0b Add gdb stub library 2015-10-07 00:56:24 +03:00
4c8a29a74d Expose request handlers in ESP8266WebServer
as discussed in #837
2015-10-06 15:26:42 +03:00
1ea2722d9d Merge pull request #837 from mangelajo/esp8266-HTTPUpdateServer
ESP8266HTTPUpdateServer extracted from WebUpdate example.
2015-10-02 14:38:39 +03:00
b27a4d142f Merge pull request #847 from pgollor/esp8266
use String return for both SSID functions
2015-10-02 14:37:38 +03:00
742892aa8a Merge pull request #846 from mangelajo/esp8266-fix-833
Handle form upload abortion in ESP8266WebServer (fix #833)
2015-10-02 14:37:20 +03:00
4f6ca6b94c adapt examples for String return type from SSID 2015-10-01 18:58:02 +02:00
f1dcfb2794 use String return for both SSID functions 2015-10-01 18:52:46 +02:00
065e1ccb8c Extracted the WebUpdate example into a library.
This ESP8266HTTPUpdateServer can be instantiated and used
more cleanly, it's also able to take or create an ESP8266WebServer
to configure the events and /update handler.

It's been made more robust by handling upload abort, which
depends on fix provided for issue #833
2015-10-01 15:19:02 +02:00
b81fb95b24 Merge pull request #840 from chrisfraser/esp8266
Fix to Servo allowing write() to be called before attach()
2015-09-30 22:48:32 +03:00
0034697b6e use String instead of char pointer for SSID() and psk() 2015-09-30 18:15:53 +02:00
d92f2f375e Fix to Servo allowing write() to be called before attach() 2015-09-29 17:02:24 +02:00
1bc87e7bff Merge pull request #831 from pgollor/SPIFFS-OTA
Sorry i added maginal changes after your merge from https://github.com/esp8266/Arduino/pull/802
2015-09-29 16:05:39 +03:00
b4cc0c263e Handle form upload abortion in ESP8266WebServer
If the client connection gets closed during a form upload,
the fileUploadHandler is notified with the new
UPLOAD_FILE_ABORTED status, and the loop is ended
gracefully.
2015-09-28 21:42:16 +02:00
ebdaedff4b More error checks in WiFiClientSecure 2015-09-28 19:32:45 +03:00
2d07f259b7 Merge branch 'esp8266' into SPIFFS-OTA 2015-09-28 17:26:18 +02:00
093cb1b081 update espota.py help and add chipd id to hostname from OTA-mDNS-SPIFFS example for better identification 2015-09-28 17:19:42 +02:00
d137fa9c18 Merge pull request #802 from pgollor/SPIFFS-OTA
Flash SPIFFS over the air (OTA)
2015-09-28 18:11:09 +03:00
ec1c43b5f7 compare wifi settings from config file with sdk config 2015-09-28 16:49:19 +02:00
b13095763d add function begin without any parameters and add functin psk to return current pre shared kex form sdk config 2015-09-28 16:48:06 +02:00
6b7b802706 Fix a crash due to abort() called from TCP error callback (#428) 2015-09-28 16:05:23 +03:00
fb2545f72f example was in wrong folder 2015-09-28 13:27:45 +02:00
98d2468edf Merge remote-tracking branch 'esporigin/esp8266' into SPIFFS-OTA 2015-09-28 13:25:08 +02:00
001a129c3a Fix heap node corruption (#428) 2015-09-28 11:59:34 +03:00
da7114cac9 add SPIFFS flashing over the air 2015-09-18 16:03:14 +02:00
5e3fb60390 Merge pull request #778 from CanTireInnovations/httpOptions
Adding support for OPTIONS requests to ESP8266WebServer
2015-09-18 09:54:50 +03:00
82bb82a931 Merge pull request #794 from paulmand3l/esp8266
Adding getMode() function to WiFi library so I can easily get the current mode of the wifi.
2015-09-18 09:54:40 +03:00
378ce87441 Merge pull request #789 from Juppit/esp8266
Remove unused include time.h from ssl.h
2015-09-18 09:54:19 +03:00
e0da5a284f Merge pull request #753 from martinayotte/esp8266
add ESP8266WebServer::sendContent_P and ESP8266WebServer::send_P with contentLength
2015-09-18 09:54:04 +03:00
4719a31898 Rebasing into single commit
Adding getMode function to ESP8266WiFiClass.cpp

Adding getMode function to ESP8266WiFiClass.h

Changing return type of getMode to WiFiMode for clarity

Changing return type of getMode to WiFiMode for clarity

Add return typecast
2015-09-16 09:39:40 -07:00
5387b2286e WiFiClientSecure::available fix
Attempt to read data from SSL engine inside WiFiClientSecure::available() if RX buffer is empty.
Fix #784.
2015-09-16 16:24:52 +03:00
6d6a26aea0 Remove unused include time.h from ssl.h
This include is not used by ssl.h but can be annoying.
If there is need for time.h it should be located in the esp8266 tree.
2015-09-15 23:46:15 +02:00
c528a44f1a Temporary fix for #780 2015-09-15 12:43:45 +03:00
e62d5a92b9 Fix ESP8266WebServer::serveStatic to work for both files and directories 2015-09-14 12:47:39 +03:00
f73d414f38 WiFiClientSecure: add certificate fingerprint verification (#43) 2015-09-14 10:22:54 +03:00
eb8c1faa51 Adding support for OPTIONS requests to ESP8266WebServer 2015-09-13 15:56:34 -04:00
c970dec6a7 Add HTTPS request sample (#43) 2015-09-13 22:50:14 +03:00
098c71ca02 Improve receive handling in TLS support (#43) 2015-09-13 22:49:30 +03:00
5cb086bc05 temporarly fix for handling PGM_P content_type properly in ESP8266WebServer::send_P() functions 2015-09-09 12:03:07 -04:00
348efba5b2 Merge remote-tracking branch 'upstream/esp8266' into esp8266 2015-09-09 10:54:30 -04:00
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
6a9eaca8b2 #754 fix _useClientMode & _useApMode in SDK auto connect mode 2015-09-07 17:11:30 +02:00
27b67f4adc add ESP8266WebServer::send_P with contentLength argument 2015-09-06 14:17:23 -04:00
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
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
82748a872c add ESP8266WebServer::sendContent_P with 'size_t size' argument for binary content 2015-09-06 13:27:12 -04:00
389107f09d fix bug in WiFiClient::write_P when content was binary 2015-09-06 13:09:57 -04:00
e0b7e0443c Merge pull request #736 from kzyapkov/avrisp
AVRISP: allow configuring active-high/low reset programatically
2015-09-01 20:47:23 +03:00