ficeto
93c456602c
Merge pull request #23 from Links2004/esp8266
...
pull markus's changes
2015-05-17 16:45:32 +03:00
Markus Sattler
03da6393d5
improve includes
...
add ssid and ip to debug out
2015-05-16 22:56:15 +02:00
Markus Sattler
508f0802d5
add examples/WiFiMulti/WiFiMulti.ino
2015-05-16 22:47:29 +02:00
Markus Sattler
108a40acfd
add support for list of AP connections
...
- auto select ssid with best signal
- for debugging enable DEBUG_WIFI_MULTI macro and call Serial.setDebugOutput(true);
change ESP8266WiFiClass::status() return type to wl_status_t
2015-05-16 22:40:53 +02:00
ficeto
66d9dbb070
ESP8266WiFiClass::waitForConnectResult()
...
waitForConnectResult() waits until wifi status is not disconnected,
unless STA is disabled, in which case it returns WL_DISCONNECTED
2015-05-16 19:00:36 +03:00
Ivan Grokhotkov
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
Ivan Grokhotkov
36d0968ada
Web server refactoring
2015-05-14 13:33:12 +03:00
ficeto
3e7b8515e4
pull get/set NoDelay for WiFiClient
2015-05-13 20:01:05 +03:00
ficeto
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
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
7512339b0c
remove qsort dependency and add TelnetToSerial example
2015-05-12 20:41:31 +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
Ivan Grokhotkov
70ade65582
Describe multicast APIs in readme, update keywords.
2015-04-29 07:04:39 +08: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
d98efdbced
Move esp8266 platform from "arduino" into "esp8266com"
2015-03-27 12:11:55 +03: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
076977dbeb
Update keywords for ESP8266WiFi library
2015-02-03 09:05:18 +03:00
Ivan Grokhotkov
fea362a3b5
Allow mDNS on any interface
2015-02-03 09:04:20 +03:00