1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-07 00:04:36 +03:00
Commit Graph

1766 Commits

Author SHA1 Message Date
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
chaeplin
4b07256802 adding resetInfo.reason 6
enum rst_reason {
	REASON_DEFAULT_RST		= 0,
	REASON_WDT_RST			= 1,
	REASON_EXCEPTION_RST	= 2,
	REASON_SOFT_WDT_RST   	= 3,
	REASON_SOFT_RESTART 	= 4,
	REASON_DEEP_SLEEP_AWAKE	= 5,
	REASON_EXT_SYS_RST      = 6
};
2015-09-06 14:36:56 +09:00
Martin Ayotte
fe1cc18ddb add W25Q40 chipid 2015-09-04 09:52:27 -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
2a2ecf8d94 Update reference.md 2015-08-31 10:53:53 +03:00
Ivan Grokhotkov
041f971a8b Add FS::format (#702) 2015-08-31 10:26:04 +03:00
Ivan Grokhotkov
b8a6b71a1f Fix return value of FS::write methods 2015-08-31 10:26:04 +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
a3bc0e924b revert some space auto formatting 2015-08-29 13:56:03 +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
Martin Ayotte
b28e879af6 change toCharArray() to toString() 2015-08-21 11:07:26 -04:00
Martin Ayotte
664d92fbd0 add toCharArray() to IPAddress class 2015-08-20 23:43:01 -04:00
Ivan Grokhotkov
1d0222c5d5 Update boards.md
Mention that PL2303 doesn't work (https://github.com/igrr/esptool-ck/issues/9) and tidy up a bit.
2015-08-19 17:49:39 +03:00
Ivan Grokhotkov
8e13741541 Merge pull request #687 from aalku/esp8266
Fixes by SwiCago on DNSServer to issue #600 and other improvements to make a captive portal.
2015-08-19 13:20:56 +03: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
c355f626f2 Add flash read/write/erase APIs to ESPClass 2015-08-18 23:38:23 +03:00
Me No Dev
be74265c82 Merge pull request #5 from esp8266/esp8266
pull master
2015-08-17 14:22:27 +03:00
aalku
ab8a6d8d45 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-16 20:19:19 +02:00
Ivan Grokhotkov
fac840b6a8 Use optimistic_yield in FS read and write 2015-08-16 14:39:16 +03:00
Ivan Grokhotkov
98423fa79d Fix FS size and add type size checks 2015-08-16 14:00:35 +03:00
Me No Dev
d641b3f701 Merge pull request #4 from esp8266/esp8266
pull master
2015-08-15 10:31:28 +03:00
aalku
559670baaa Host header support 2015-08-14 22:30:15 +02:00
aalku
5cae888278 LocalIP/LocalPort support 2015-08-14 22:27:21 +02:00
aalku
b79f1c689d Merge remote-tracking branch 'esp8266/esp8266' into esp8266 2015-08-14 15:23:03 +02:00
Ivan Grokhotkov
c363b2d4f6 Update SPIFFS to 0.2-64-g15e5618
fix some exceptions due to unaligned memory access
remove leftover changes from NodeMCU (SPIFFS_eof and SPIFFS_ftell)
2015-08-14 01:01:47 +03:00
Ivan Grokhotkov
69e68943b1 Merge pull request #664 from martinayotte/esp8266
fix dtostrf() issue, add Dir::fileSize
2015-08-13 12:03:32 +03:00
aalku
ba70b09d2f Fixes by SwiCago on DNSServer
Fixes by SwiCago on this forum comment
http://www.esp8266.com/viewtopic.php?p=23900#p23900
2015-08-13 10:06:18 +02:00
Martin Ayotte
568c48b065 add fileSize() method to Dir object 2015-08-12 22:12:22 -04:00
Ivan Grokhotkov
43d80ee2ec Fix forward declaration of FS 2015-08-12 22:40:21 +03:00