ficeto
74a2b75cf9
Revert "Add WiFiClient.write for Stream"
...
This reverts commit fa24d770c5096ad7a8894c3e5221c1358efe128c.
2015-05-13 12:45:48 +03:00
ficeto
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
Ivan Grokhotkov
371320bc45
Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266
2015-05-12 20:46:57 +03:00
ficeto
f2f1fad298
add TCP_NODELAY control
2015-05-12 19:25:37 +03:00
Ivan Grokhotkov
936265357b
Merge branch 'jwatte-esp8266' into esp8266
...
* jwatte-esp8266:
Fix UDP send to not temporarily use connect()
2015-05-12 19:18:19 +03:00
Ivan Grokhotkov
720142ef24
Merge branch 'esp8266' of https://github.com/jwatte/Arduino into jwatte-esp8266
2015-05-12 19:11:22 +03:00
Ivan Grokhotkov
89248032d6
Merge branch 'esp8266' of https://github.com/ficeto/Arduino into esp8266
...
Conflicts:
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
2015-05-12 18:58:10 +03:00
Ivan Grokhotkov
25d814bdfb
some UdpContext fixes, add rx callback support
...
Set udp destination address, port, and multicast TTL only on send.
Fix read method to return -1 if buffer is empty.
2015-05-12 17:52:22 +03:00
ficeto
bacc0b1f8b
add method to check for clients without referencing them
2015-05-12 15:21:35 +03:00
ficeto
1707d3d036
move discard_cb to unref
2015-05-12 14:22:16 +03:00
ficeto
88c6ee418d
add close and abort methods and enable disconnect callback
2015-05-12 13:58:05 +03:00
Jon Watte
3049d48d56
Fix UDP send to not temporarily use connect()
2015-05-10 14:00:50 -07:00
ficeto
8819c1e91c
fix write taking too long
2015-05-07 13:38:32 +03:00
ficeto
fbec557ddb
Importing my changes
2015-04-30 20:48:50 +03:00
Ivan Grokhotkov
a4536d5935
Minor code style changes
2015-04-30 18:54:16 +08:00
Markus Sattler
483533ac4c
add back SmartConfig
2015-04-30 11:44:26 +02:00
Bob van der Linden
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
Ivan Grokhotkov
5354464a01
Add destinationIP method to WiFiUDP
...
Might be useful to distinguish between normal and multicast packets arriving at the same port (#105 )
2015-04-29 07:01:54 +08:00
Ivan Grokhotkov
727c61efe2
UDP multicast APIs fix
...
fix #74 , fix #7
2015-04-29 07:01:46 +08:00
Markus Sattler
2472970933
fix some warnings
...
warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
warning: defined but not used [-Wunused-variable]
warning: declared 'static' but never defined [-Wunused-function]
warning: suggest parentheses around '&&' within '||' [-Wparentheses}
2015-04-29 07:01:28 +08:00
Ivan Grokhotkov
4cc06c2100
Add method to configure softAP IP address
...
fix #76
2015-04-21 20:52:02 +08:00
Ivan Grokhotkov
da88852693
Fix resource leaks in UDP library
...
Reference counts were not incremented after creation of UdpContext, so pbufs and pcbs were not freed.
2015-04-14 01:34:52 +08:00
Ivan Grokhotkov
b026daf43b
Fix UdpClient semantics, add NTPClient example
...
UdpClient used to create a new socket for each begin/beginPacket call. This made bidirectional communication impossible.
Fix #64 , fix #53 .
2015-04-12 01:09:45 +08:00
Markus Sattler
0bd2ea1948
remove some warnings
2015-04-06 19:54:01 +02:00
Markus Sattler
f165a0afcd
use Eclipse auto Format to get rip auf the tab, space and code style inconsistency
2015-04-06 19:33:50 +02:00
Markus Sattler
3bb2de4a85
add flush() to unref() see #50
2015-04-06 19:17:19 +02:00
Markus Sattler
3c7eaafeaf
force tcp close in error
2015-04-06 18:55:21 +02:00
Markus Sattler
ea7a4e522a
add null prt check to _pcb in flush
2015-04-06 18:49:57 +02:00
Markus Sattler
96ec8e480b
add size check to write
...
some more debug output
2015-04-06 18:41:44 +02:00
Markus Sattler
a1f0c6feb9
remove NO_PORT_BIND
2015-04-03 14:26:41 +02:00
Markus Sattler
d87bc938f9
disable tcp_bind for WiFiClient (tcp_connect gets automatic a free src port)
2015-04-02 19:11:06 +02:00
Markus Sattler
53dbeeb0aa
add error reason to WiFiClient debug
...
handle tcp_close error in unref()
2015-04-02 18:57:28 +02:00
Ivan Grokhotkov
71c705a187
Implement remoteIP and remotePort in WiFiUDP
2015-02-17 01:38:35 +03:00
Ivan Grokhotkov
ea90d3ce92
Fix WiFiClient assignment operator
2015-02-16 03:02:42 +03:00
Ivan Grokhotkov
b85262e634
Fix error with missing softAPmacAddress function
2015-02-12 16:37:58 +03:00
Ivan Grokhotkov
be7a068be1
Add parameter to set channel in softAP mode
2015-02-03 12:30:08 +03:00
Ivan Grokhotkov
fea362a3b5
Allow mDNS on any interface
2015-02-03 09:04:20 +03:00
Ivan Grokhotkov
c28a63c9d5
Add support for multicast UDP
2015-02-01 01:52:23 +03:00
Ivan Grokhotkov
b09e8e593a
Add remoteIP and remotePort methods to WiFiClient
2015-01-16 17:56:11 +03:00
Ivan Grokhotkov
7d1de31896
Fix call to tcp_recved after pcb has been closed, abort connections closed by the remote side
2015-01-13 09:10:32 +03:00
Ivan Grokhotkov
75d9cf40be
Fix license headers in WiFiUDP files
2015-01-09 22:47:07 +03:00
Ivan Grokhotkov
e5e6dbe222
Initial UDP support
2015-01-09 02:10:20 +03:00
Ivan Grokhotkov
af99a3e388
Remove unused rx_buffer_size argument from WebServer constructor
2015-01-08 00:39:46 +03:00
Ivan Grokhotkov
661c414c2a
Automatically call yield() in WiFiClient::available and WiFiServer::available
2015-01-07 02:45:46 +03:00
Ivan Grokhotkov
2b503977b9
Fix WiFi::softAPIP and keywords for ESP8266WiFi library
2015-01-07 02:09:55 +03:00
Ivan Grokhotkov
8e7a20c08d
Automatically call yield() in WiFiClient::available if called more than once
2015-01-07 01:57:41 +03:00
Ivan Grokhotkov
ccfbd9c969
WiFiClient cleanup
2014-12-29 10:37:11 +03:00
Ivan Grokhotkov
4944a8fb5f
WiFi library compatibility fixes
2014-12-29 01:20:27 +03:00
Ivan Grokhotkov
55f07f1e08
TCP client flow control
2014-12-29 01:20:07 +03:00
Ivan Grokhotkov
4287d522bd
Fix encryptionType for AUTH_WPA_WPA2_PSK
2014-12-23 12:43:19 +03:00