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

416 Commits

Author SHA1 Message Date
Ivan Grokhotkov
0772a69b1c Merge pull request #913 from me-no-dev/esp8266
Add SPIFFS WebServer Example
2015-10-28 14:54:31 +03:00
Ivan Grokhotkov
db3e7c812d Merge pull request #920 from pgollor/change-OTA-example
use ArduinoOTA class in OTA-mDNS-SPIFFS example
2015-10-28 14:54:07 +03:00
luc
ee0b8621f3 Add header access using same method as arguments 2
based on @brianensor PR
+sample and some sanity check
2015-10-28 13:58:53 +08:00
Pascal Gollor
c773140a5b use ArduinoOTA class in OTA-mDNS.SPIFFS example 2015-10-22 16:43:00 +02:00
Me No Dev
4c078799ca Add SPIFFS WebServer Example 2015-10-21 14:09:55 +03:00
luc
64754524ec Add _buffer initialization and some sanity check
This seems fix the Exception (28)/ (9) that occur on Captive portal with
Soft AP
2015-10-21 15:30:48 +08:00
Ivan Grokhotkov
a9f9f6d53f Merge pull request #902 from martinayotte/esp8266
add dnsIP() to ESP8266WiFi class
2015-10-18 21:44:41 +02:00
Ivan Grokhotkov
78975cd94c Merge pull request #883 from mangelajo/esp8266-ArduinoOTA
OTA support encapsulated to ArduinoOTA class
2015-10-18 21:43:54 +02:00
Ivan Grokhotkov
28890b39e6 Fix crash in Servo library when flash caching is disabled (#898) 2015-10-18 22:31:33 +03:00
Martin Ayotte
6436a175c4 add dns_no argument to dnsIP() int ESP8266WiFi class 2015-10-18 14:22:24 -04:00
Martin Ayotte
7f318d72cf add dnsIP() to ESP8266WiFi class 2015-10-18 14:18:14 -04:00
Ivan Grokhotkov
000e762af3 Merge pull request #853 from mpromonet/esp8266
avoid to dereference a NULL pointer if update is called before begin
2015-10-17 21:55:25 +02:00
Ivan Grokhotkov
51595f67fa Merge pull request #880 from JohnSL/sendContent_P-864
Fixing final write length for sendContent_P
2015-10-17 21:23:54 +02:00
Miguel Angel Ajo
6978b6a777 OTA support encapsulated to ArduinoOTA class 2015-10-12 10:29:18 +02:00
John Socha-Leialoha
578c90f04c Fixing final write length for sendContent_P 2015-10-11 13:32:10 -07:00
Markus Sattler
33c9d03356 add CheckFlashConfig.ino example 2015-10-09 14:29:21 +02:00
Ivan Grokhotkov
0bd3b72550 Fix bug with SSLContext not being initialized (#43) 2015-10-07 01:01:38 +03:00
Ivan Grokhotkov
ed785b5f0b Add gdb stub library 2015-10-07 00:56:24 +03:00
Ivan Grokhotkov
4c8a29a74d Expose request handlers in ESP8266WebServer
as discussed in #837
2015-10-06 15:26:42 +03:00
mpromonet
7c37346839 avoid to dereference a NULL pointer if update is called before begin 2015-10-04 17:42:52 +02:00
Ivan Grokhotkov
1ea2722d9d Merge pull request #837 from mangelajo/esp8266-HTTPUpdateServer
ESP8266HTTPUpdateServer extracted from WebUpdate example.
2015-10-02 14:38:39 +03:00
Ivan Grokhotkov
b27a4d142f Merge pull request #847 from pgollor/esp8266
use String return for both SSID functions
2015-10-02 14:37:38 +03:00
Ivan Grokhotkov
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
Pascal Gollor
4f6ca6b94c adapt examples for String return type from SSID 2015-10-01 18:58:02 +02:00
Pascal Gollor
f1dcfb2794 use String return for both SSID functions 2015-10-01 18:52:46 +02:00
Miguel Angel Ajo
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
Ivan Grokhotkov
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
Pascal Gollor
0034697b6e use String instead of char pointer for SSID() and psk() 2015-09-30 18:15:53 +02:00
Chris Fraser
d92f2f375e Fix to Servo allowing write() to be called before attach() 2015-09-29 17:02:24 +02:00
Ivan Grokhotkov
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
Miguel Angel Ajo
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
Ivan Grokhotkov
ebdaedff4b More error checks in WiFiClientSecure 2015-09-28 19:32:45 +03:00
Pascal Gollor
2d07f259b7 Merge branch 'esp8266' into SPIFFS-OTA 2015-09-28 17:26:18 +02:00
Pascal Gollor
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
Ivan Grokhotkov
d137fa9c18 Merge pull request #802 from pgollor/SPIFFS-OTA
Flash SPIFFS over the air (OTA)
2015-09-28 18:11:09 +03:00
Pascal Gollor
ec1c43b5f7 compare wifi settings from config file with sdk config 2015-09-28 16:49:19 +02:00
Pascal Gollor
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
Ivan Grokhotkov
6b7b802706 Fix a crash due to abort() called from TCP error callback (#428) 2015-09-28 16:05:23 +03:00
Pascal Gollor
fb2545f72f example was in wrong folder 2015-09-28 13:27:45 +02:00
Pascal Gollor
98d2468edf Merge remote-tracking branch 'esporigin/esp8266' into SPIFFS-OTA 2015-09-28 13:25:08 +02:00
Ivan Grokhotkov
001a129c3a Fix heap node corruption (#428) 2015-09-28 11:59:34 +03:00
Pascal Gollor
da7114cac9 add SPIFFS flashing over the air 2015-09-18 16:03:14 +02:00
Ivan Grokhotkov
5e3fb60390 Merge pull request #778 from CanTireInnovations/httpOptions
Adding support for OPTIONS requests to ESP8266WebServer
2015-09-18 09:54:50 +03:00
Ivan Grokhotkov
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
Ivan Grokhotkov
378ce87441 Merge pull request #789 from Juppit/esp8266
Remove unused include time.h from ssl.h
2015-09-18 09:54:19 +03:00
Ivan Grokhotkov
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
Paul Mandel
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
Ivan Grokhotkov
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
Juppit
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
Ivan Grokhotkov
c528a44f1a Temporary fix for #780 2015-09-15 12:43:45 +03:00