f7969ae12dFix typo in HTTP headers. I need to refactor so header creation is single sourced. Oh well. This may fix issues in Firefox
Marcos Kirsch
2015-04-01 22:56:47 -05:00
871105dc64Support for modifying the serial port baud rate.
Marcos Kirsch
2015-04-01 22:30:35 -05:00
92a44592d5Fix end of line
Artem Pastukhov
2015-04-01 08:57:18 +03:00
0120924403Fix some typos
Artem Pastukhov
2015-03-31 10:02:33 +03:00
71058e6b44Fix 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
Artem Pastukhov
2015-03-31 09:53:24 +03:00
eeb7d1dff3Much nicer HTML design
Marcos Kirsch
2015-03-22 22:13:53 -05:00
63ed883c78Updated with newer information
Marcos Kirsch
2015-03-22 22:13:12 -05:00
75ed944678Refactored server to move request parsing into a separate file. This allows the server to be used in firmware builds with floating point enabled.
Marcos Kirsch
2015-03-22 22:02:38 -05:00
dfb2dbecdfSmaller GIF, but animated
Marcos Kirsch
2015-03-22 22:00:42 -05:00
a0c25ca2c9remove another large file
Marcos Kirsch
2015-03-22 22:00:18 -05:00
f80b37a915Remove cars example, doesn't fit in flash memory well
Marcos Kirsch
2015-03-22 21:59:53 -05:00
84f7a06aa1No longer crashes when request is HTTP 1.0
Marcos Kirsch
2015-03-22 11:45:39 -05:00
d5396202eaServe large files example, now with smaller large files
Marcos Kirsch
2015-03-15 22:07:35 -05:00
b10a137712Finally works when serving multiple files simultaneously. Still need to clan up
Marcos Kirsch
2015-03-15 13:16:59 -05:00
d5fcc71c23Move function definition to inside the socket listen argument list. This is harder to follow, but allows the coroutine to be unique since it is now part of the closure. Multiple files can be served simultaneously this way.
Marcos Kirsch
2015-03-10 22:15:52 -05:00
65538efc1bModified HTML to call lua script via javascript. Also embedded an image just for stress testing the server
Marcos Kirsch
2015-03-10 22:14:10 -05:00
b88e0e382bAdd 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.
Marcos Kirsch
2015-03-08 19:49:27 -05:00
e31c35a3f3Change to use nodemcu-uploader.py rather than luatool.py. It's faster with multiple files, but more importantly, it allows uploading binary files like images. Note that you will need a farly recent version of nodemcu-uploader.
Marcos Kirsch
2015-03-08 19:48:23 -05:00
1284b6363eAdd compilation of server files.
Marcos Kirsch
2015-03-08 19:45:43 -05:00
c805873395Formatting change, but will delete
Marcos Kirsch
2015-03-04 12:33:18 -06:00
9c35443ea4Updated to match code
Marcos Kirsch
2015-03-04 12:31:46 -06:00
50b1c09570Updated to reflect latest status of the code
Marcos Kirsch
2015-02-28 17:00:03 -06:00
c1ca93a78cRemoved parameter that is no longer needed
Marcos Kirsch
2015-02-28 16:57:30 -06:00
f43025f237init shows new way of starting server
Marcos Kirsch
2015-02-28 16:40:36 -06:00
5ebfa6ac8bUpdated to reflect server changes
Marcos Kirsch
2015-02-28 16:40:06 -06:00
5b472f3554Add yield so that looong listings don't overflow mcu's buffer
Marcos Kirsch
2015-02-28 16:39:40 -06:00
77920f4a94Big refactoring: server now uses a separate thread that yields and then resumes on 'sent'. This allows us to serve large files. Moved serving of error pages and serving of static files into separate scripts httpserver-error.lua and httpserver-static.lua
Marcos Kirsch
2015-02-28 16:39:06 -06:00
3d4e4ee501First pass of server. Not fully operational. Basic GET works, serves requested file. But server runs out of memory or/and only works with one connection.
Marcos Kirsch
2015-02-08 22:09:20 -06:00
3e452992c8Renamed file and minor cleanup.
Marcos Kirsch
2015-02-08 22:08:18 -06:00
a8d408f375Some example HTML file.
Marcos Kirsch
2015-02-08 22:06:50 -06:00
1ff3867733Base64 decoding function is operational
Marcos Kirsch
2015-02-08 22:05:08 -06:00
a86b6711bbCleaned up
Marcos Kirsch
2015-02-08 22:03:44 -06:00
4dffc7009dFunction for Base64 decoding, needed for luatool.py binary uploads
Marcos Kirsch
2015-02-07 12:30:03 -06:00
b1f87f3ffaFunctional Base64 prior to cleanup
Marcos Kirsch
2015-02-07 12:12:48 -06:00
1c709b838bMinimalistic server can be started and returns hardcoded message, prior to cleanup
Marcos Kirsch
2015-02-06 21:54:25 -06:00