Page 1 of 1
Add fileserver reading from sdcard for demo
Posted: Tue Aug 24, 2021 2:05 pm
by broucari
Hi,
Could be possible to add this self contained file server reading from file ?
I plan to give a lecture to student and it will be nice to improve the demos.
Feel free to review I will done the needed stuff
Bastien
Re: Add fileserver reading from sdcard for demo
Posted: Tue Aug 24, 2021 2:49 pm
by Giovanni
Hi,
Interesting, how could I test this file server?
Giovanni
Re: Add fileserver reading from sdcard for demo
Posted: Tue Aug 24, 2021 10:54 pm
by broucari
Hi,
Add some file like test.html to the sdcard and do
http://192.168.1.10/test.html in your borwser.
I plan to refactor in order to allow dynamic json5 file for reading some variable. with a little bit of javacript it will be nice.
Bastien
Re: Add fileserver reading from sdcard for demo
Posted: Mon Nov 01, 2021 2:01 pm
by Giovanni
Hi,
I integrated this change in a little different way, the code is under /os/vaious/httpd_fatfs_bindings, this way it is also available outside the demo for others to integrate.
Giovanni