Artem Pastukhov
|
0120924403
Fix some typos
|
9 years ago |
Artem Pastukhov
|
71058e6b44
Fix some typos
|
9 years ago |
Marcos
|
4989410f7b
Update init.lua
|
9 years ago |
Marcos Kirsch
|
eeb7d1dff3
Much nicer HTML design
|
9 years ago |
Marcos Kirsch
|
63ed883c78
Updated with newer information
|
9 years ago |
Marcos Kirsch
|
75ed944678
Refactored server to move request parsing into a separate file. This allows the server to be used in firmware builds with floating point enabled.
|
9 years ago |
Marcos Kirsch
|
dfb2dbecdf
Smaller GIF, but animated
|
9 years ago |
Marcos Kirsch
|
a0c25ca2c9
remove another large file
|
9 years ago |
Marcos Kirsch
|
f80b37a915
Remove cars example, doesn't fit in flash memory well
|
9 years ago |
Marcos Kirsch
|
84f7a06aa1
No longer crashes when request is HTTP 1.0
|
9 years ago |
Marcos Kirsch
|
a43fc20230
Remove debug traces, handle long filenames
|
9 years ago |
Marcos Kirsch
|
4f6cd02b1f
Fixes serving multiple connections simultaneously by reopening and scanning the file
|
9 years ago |
Marcos Kirsch
|
be08c78e8b
Remove image, was just for testing purposes
|
9 years ago |
Marcos Kirsch
|
4a2dafccc8
Reorder, add image, add garage example
|
9 years ago |
Marcos Kirsch
|
d5396202ea
Serve large files example, now with smaller large files
|
9 years ago |
Marcos Kirsch
|
b10a137712
Finally works when serving multiple files simultaneously. Still need to clan up
|
9 years ago |
Marcos Kirsch
|
d5fcc71c23
Move 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.
|
9 years ago |
Marcos Kirsch
|
65538efc1b
Modified HTML to call lua script via javascript. Also embedded an image just for stress testing the server
|
9 years ago |
Marcos Kirsch
|
e571f19d81
Increase chunk size, improved traces for debugging purposes.
|
9 years ago |
Marcos Kirsch
|
2ae0a573d9
Functional garage_door_opener example.
|
9 years ago |
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.
|
9 years ago |
Marcos Kirsch
|
e31c35a3f3
Change 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.
|
9 years ago |
Marcos Kirsch
|
1284b6363e
Add compilation of server files.
|
9 years ago |
Marcos Kirsch
|
c805873395
Formatting change, but will delete
|
9 years ago |
Marcos Kirsch
|
9c35443ea4
Updated to match code
|
9 years ago |
Marcos Kirsch
|
50b1c09570
Updated to reflect latest status of the code
|
9 years ago |
Marcos Kirsch
|
c1ca93a78c
Removed parameter that is no longer needed
|
9 years ago |
Marcos Kirsch
|
f43025f237
init shows new way of starting server
|
9 years ago |
Marcos Kirsch
|
5ebfa6ac8b
Updated to reflect server changes
|
9 years ago |
Marcos Kirsch
|
5b472f3554
Add yield so that looong listings don't overflow mcu's buffer
|
9 years ago |