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
699b06b875
implement async replies in mDNS library
...
No need to call mdns.update() from loop() any more.
2015-05-12 17:59:24 +03:00
ficeto
1f657fab73
plaintext POST fixes and rework of the SD example
...
Added a single file web editor/browser/uploader and all needed methods
to work with the files on the SD Card
2015-05-11 13:43:26 +03:00
ficeto
7001086920
fix binary file http upload
2015-05-09 14:21:53 +03:00
ficeto
7e0a104cb5
fix huge leak
2015-05-08 03:30:41 +03:00
ficeto
a924ba1336
add proper POST support and more methods
...
GET params are always added
plain POST is added to the GET arguments
Uploads are handled by separate handler
2015-05-08 02:45:03 +03:00
ficeto
1cb920f713
fixes for sd server example
2015-05-07 16:42:10 +03:00
ficeto
7be8c1d270
overlooked duplicate name
2015-05-07 12:40:56 +03:00
ficeto
ecfac7cd6c
add SD Card Web Server example
...
working fine with the latest wifi lib
2015-05-07 12:38:56 +03:00
Ivan Grokhotkov
95832b0e2f
fix HelloServer sample
...
close #168
2015-05-05 13:57:35 +03:00
ficeto
3a7846a574
missed led and fixed output to make more sense
2015-05-01 13:00:17 +03:00
ficeto
d6ae950c26
Add led to WebServer example
...
This reverts commit 43be35c4de9618c21d04fe1d5056143b9b55ffd3.
2015-05-01 12:32:37 +03:00
Ivan Grokhotkov
435f59f771
ESP8266WebServer code review, fix indentation, add keywords
2015-05-01 11:17:45 +08:00
ficeto
dbbd047980
Updated HelloServer with mDNS and NotFound catcher with custom page
...
the not found handler should be used in conjunction with other means of
getting data, like SD card
2015-05-01 02:51:59 +03:00
ficeto
81af3a061e
adding extra finctionaity the the web server
...
void onNotFound(bool(void)) handler routes and errors not in the
defined handlers
int args() returns nubmer of currentarguments
String arg(int i) returns the "i" argument value
String argName(int i) returns the "i" argument name(key)
bool hasArg(const char * name) looks up if an argument exist by
seraching for it's key
2015-05-01 02:43:51 +03: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
d98efdbced
Move esp8266 platform from "arduino" into "esp8266com"
2015-03-27 12:11:55 +03:00
Ivan Grokhotkov
cfda6cbd06
Add ESP8266WebServer library
2015-03-27 11:17:45 +03:00