6f63ad1ee4
Fix return value of WiFiClient::connect ( #511 )
2015-07-06 08:02:24 +03:00
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
7f66a3a415
Remove unnecessary ICACHE_FLASH_ATTR
2015-06-05 15:58:44 +03:00
49aeb79b05
Add API to set the beginning of local ports range for WiFiClient
2015-05-24 23:15:05 +03:00
3e7b8515e4
pull get/set NoDelay for WiFiClient
2015-05-13 20:01:05 +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
021b8b61e7
ESP8266WiFi: made connected() return true if data is available
...
WiFiClient::connected() should return true if the connection is disconnected, but there is still data available. This is specified in the Arduino docs: http://www.arduino.cc/en/Reference/WiFiClientConnected
2015-04-29 07:02:19 +08:00
0bd2ea1948
remove some warnings
2015-04-06 19:54:01 +02:00
a1f0c6feb9
remove NO_PORT_BIND
2015-04-03 14:26:41 +02:00
d87bc938f9
disable tcp_bind for WiFiClient (tcp_connect gets automatic a free src port)
2015-04-02 19:11:06 +02:00
53dbeeb0aa
add error reason to WiFiClient debug
...
handle tcp_close error in unref()
2015-04-02 18:57:28 +02:00
ea90d3ce92
Fix WiFiClient assignment operator
2015-02-16 03:02:42 +03:00
b09e8e593a
Add remoteIP and remotePort methods to WiFiClient
2015-01-16 17:56:11 +03:00
661c414c2a
Automatically call yield() in WiFiClient::available and WiFiServer::available
2015-01-07 02:45:46 +03:00
8e7a20c08d
Automatically call yield() in WiFiClient::available if called more than once
2015-01-07 01:57:41 +03:00
ccfbd9c969
WiFiClient cleanup
2014-12-29 10:37:11 +03:00
9ba2fcd29f
More license headers
2014-12-19 11:16:28 +03:00
77af5da58f
Clean up ets_printf declarations
2014-12-18 18:45:22 +03:00
64dabb53f5
WiFi client connect with hostname
2014-12-17 10:29:29 +03:00
6d9c77ebe1
Add ESP8266WiFi library
2014-12-01 00:36:56 +03:00