56 Commits

Author SHA1 Message Date
Marcos Kirsch
f9d94d9aa2 Fixed typo in HTML and reduced file size of image. 2016-02-21 22:11:03 -06:00
Marcos Kirsch
86b00f922c Added example that loads several images as a stress test. This does not currently work. 2016-02-21 11:32:35 -06:00
Marcos Kirsch
d71b079932 clean up, but example does not work at this time 2016-02-15 22:54:19 -06:00
Marcos Kirsch
11dde7075b Added a second link to zipped file, with gz extension 2016-02-15 22:48:53 -06:00
Marcos Kirsch
5ccc69dc73 Updated examples to remove yields, pass req param. Integration woes. 2016-02-15 22:33:30 -06:00
Marcos Kirsch
d31b2d2c89 No need to yield. Conditionally show form. Updated title. 2016-02-15 22:31:48 -06:00
Marcos Kirsch
fbc6506faa Merged with main repository 2016-02-15 20:54:11 -06:00
Marcos Kirsch
64f07cb38d Change NodeMCU firmware link to point to github project. 2016-02-15 14:21:16 -06:00
Marcos Kirsch
4d4442318d Fix example server-side scripts to work on new nodemcu-firmware. Specifically, call coroutine.yield() after each connection:send() except the last one, since we can no longer queue sends. 2016-02-15 14:20:28 -06:00
Philip Gladstone
9fee6ee8e8 Removed another unused file 2015-11-28 16:36:53 -05:00
Philip Gladstone
a54159b39f Remove unused file 2015-11-28 12:23:22 -05:00
Philip Gladstone
8a195cb798 Reduce memory requirements a bit and fix weird issue in node_info.lua
example
2015-11-28 12:22:20 -05:00
Philip Gladstone
b4a2d02431 Fix the problem with the more modern SDK only allowing one outstanding
connection:send at a time. Long and short of it, don't use coroutine.yield
any more when serving content.
2015-11-22 13:39:03 -05:00
Ryan Voots
ef340bc82a Implement support for more arbitrary HTTP methods. Allows GET PUT and POST. With minor changes needed to support others 2015-08-31 18:28:03 -07:00
TJ Borromeo
e52ca7731f Update node_info.lua
reducing overhead from extra sends probably well beneath buffer limits
2015-07-20 13:22:38 -07:00
Marcos
350c868063 Merge pull request #28 from borromeotlhs/patch-7
Update args.lua
2015-07-19 09:19:05 -05:00
Marcos Kirsch
e49eec62d3 Fix: show minor version. Improve formatting 2015-07-19 09:03:37 -05:00
TJ Borromeo
19bac62e07 Update args.lua 2015-07-18 21:51:09 -07:00
Marcos Kirsch
f62995cf18 Update GPIO lines to use GPIO1 and GPIO2 on NodeMCU devkit 1 2015-07-18 22:43:10 -05:00
Marcos Kirsch
b017526d71 Show size, used, available space in file system 2015-07-18 22:42:29 -05:00
TJ Borromeo
25a7313af5 Update file_list.lua
get rid of variables if not actually used.  Create variables only when a condition to use them is met.
2015-07-17 14:17:09 -07:00
Marcos Kirsch
453f38b52f Small wording improvement 2015-04-19 23:40:36 -05:00
Marcos Kirsch
c7b20c0674 shortened file 2015-04-19 23:38:25 -05:00
Marcos Kirsch
0cc7a8b7be Fix issue 16: gzip example files are too large, replace with much smaller one 2015-04-19 14:48:29 -05:00
Marcos Kirsch
572732fd44 Add sample file with a form using method POST 2015-04-18 23:12:04 -05:00
Artem Pastukhov
596d9dd06b Fixes 2015-04-02 16:11:33 +03:00
Artem Pastukhov
da17c3b346 Merge branch 'master' of https://github.com/pastukhov/nodemcu-httpserver
Conflicts:
	Makefile
	http/node_info.lua
	httpserver-static.lua
2015-04-02 16:02:39 +03:00
Artem Pastukhov
d198d1b433 add jquery and gz tests 2015-04-02 15:45:02 +03:00
Artem Pastukhov
60a95c420d remove http/ual.lua 2015-04-02 15:44:01 +03:00
Marcos Kirsch
f7969ae12d Fix typo in HTTP headers. I need to refactor so header creation is single sourced. Oh well. This may fix issues in Firefox 2015-04-01 22:56:47 -05:00
Artem Pastukhov
92a44592d5 Fix end of line 2015-04-01 08:57:18 +03:00
Artem Pastukhov
de121b6dfa Add ual.lua 2015-03-31 14:54:31 +03:00
Artem Pastukhov
269b6e35bf More typo fixes 2015-03-31 14:53:52 +03:00
Artem Pastukhov
71058e6b44 Fix some typos
Add ability to start httpserver with wifi.ap mode
Add http/updateaplist.lua that create http/aplist.json with list of access points
2015-03-31 09:53:24 +03:00
Marcos Kirsch
eeb7d1dff3 Much nicer HTML design 2015-03-22 22:13:53 -05:00
Marcos Kirsch
dfb2dbecdf Smaller GIF, but animated 2015-03-22 22:00:42 -05:00
Marcos Kirsch
a0c25ca2c9 remove another large file 2015-03-22 22:00:18 -05:00
Marcos Kirsch
f80b37a915 Remove cars example, doesn't fit in flash memory well 2015-03-22 21:59:53 -05:00
Marcos Kirsch
be08c78e8b Remove image, was just for testing purposes 2015-03-15 22:10:11 -05:00
Marcos Kirsch
4a2dafccc8 Reorder, add image, add garage example 2015-03-15 22:09:18 -05:00
Marcos Kirsch
d5396202ea Serve large files example, now with smaller large files 2015-03-15 22:07:35 -05:00
Marcos Kirsch
65538efc1b Modified HTML to call lua script via javascript. Also embedded an image just for stress testing the server 2015-03-10 22:14:10 -05:00
Marcos Kirsch
e571f19d81 Increase chunk size, improved traces for debugging purposes. 2015-03-10 22:12:49 -05:00
Marcos Kirsch
2ae0a573d9 Functional garage_door_opener example. 2015-03-08 20:10:37 -05:00
Marcos Kirsch
b88e0e382b Add an example binary file (in this case a GIF). It's also bigger than the buffer on the NodeMCU so it stresses sending in chunks. 2015-03-08 19:49:27 -05:00
Marcos Kirsch
c805873395 Formatting change, but will delete 2015-03-04 12:33:18 -06:00
Marcos Kirsch
5b472f3554 Add yield so that looong listings don't overflow mcu's buffer 2015-02-28 16:39:40 -06:00
Marcos Kirsch
f4875cbd86 Fix indentation 2015-02-28 16:34:24 -06:00
Marcos Kirsch
068b45023e Delete, this is now part of node-info.lua 2015-02-22 16:06:35 -06:00
Marcos Kirsch
316af66d3c Improve demo files 2015-02-22 16:06:06 -06:00