1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
e6e57a8b81 Better handling of wifi disconnect (#231)
When network interface is down, some nasty things happen, for instance tcp_connect returns without ever calling error callback.
This change adds some workarounds for that: before doing a tcp connect and DNS resolve we check if there is a route available.
Also added a listener for wifi events which stops (aborts) all the WiFiClients and WiFiUDPs when wifi is disconnected. This should
help libraries detect disconnect properly.
2015-06-11 18:01:33 +03:00
49aeb79b05 Add API to set the beginning of local ports range for WiFiClient 2015-05-24 23:15:05 +03:00
3c9d1f20bb Merge branch 'ficeto-esp8266' into esp8266
* ficeto-esp8266:
  add template methods for stream to stream writes to SD and FS
  alignment not needed. we use fixed addresses
  Rework SPIFFS API to be more Arduino like
  fix missed edits
  disable automount
  fix SPIFFS to work
  pull get/set NoDelay for WiFiClient
  Add SPIFFS Support
  export sketch data folder to the build config
  Revert "Revert "Edit SD Server example to use the new Write(Stream) method""
  add template client write
  Revert "Add WiFiClient.write for Stream"
  Revert "Edit SD Server example to use the new Write(Stream) method"
  Edit SD Server example to use the new Write(Stream) method
  Add WiFiClient.write for Stream
  make upload callback packets aligned to defined size

Conflicts:
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.cpp
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.h
2015-05-14 14:38:22 +03:00
36d0968ada Web server refactoring 2015-05-14 13:33:12 +03:00
3e7b8515e4 pull get/set NoDelay for WiFiClient 2015-05-13 20:01:05 +03:00
5eee3da4d5 add template client write
can read streams that have "available()" and "read(buf, len)" methods
thanks @igrr
2015-05-13 12:47:29 +03:00
74a2b75cf9 Revert "Add WiFiClient.write for Stream"
This reverts commit fa24d770c5.
2015-05-13 12:45:48 +03:00
f4969ce0e5 Add WiFiClient.write for Stream
reads directly from the stream and fragments the data to achieve
maximum data throughput over WiFi
2015-05-13 12:07:42 +03:00
b09e8e593a Add remoteIP and remotePort methods to WiFiClient 2015-01-16 17:56:11 +03:00
8e7a20c08d Automatically call yield() in WiFiClient::available if called more than once 2015-01-07 01:57:41 +03:00
9ba2fcd29f More license headers 2014-12-19 11:16:28 +03:00
6d9c77ebe1 Add ESP8266WiFi library 2014-12-01 00:36:56 +03:00