lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] httpserver(-raw) and large files


From: Philipp Tölke
Subject: [lwip-users] httpserver(-raw) and large files
Date: Wed, 20 Feb 2013 18:56:09 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

Hi everyone,

we use lwIP on a Stellaris microcontroller. I am currently integrating a
webserver into our firmware. Using the in ROM filesystem this works as
intended using the httpserver-raw.

Now I am trying to get the httpserver to read the .html-files from
external Flash-Memory.

I enabled LWIP_HTTPD_CUSTOM_FILES and LWIP_HTTPD_DYNAMIC_FILE_READ and
implemented the functions fs_open_custom and fs_close_custom.

But what function do I need to implement to actually read the file? The
only candidate I find is fs_wait_read_custom which reads asynchronisly
which I do not need.

Is somebody using the httpserver-raw and "real" files? If yes: What is
the correct API to use?

Regards,
-- 
Philipp Tölke, M.Sc. - Software-Developer - fos4X GmbH - www.fos4x.de
Thalkirchner Str. 210, Geb. 6 - D-81371 München; AG München HRB 189 218
T +49 89 999 542 58 - F +49 89 999 542 01
Managing Directors: Dr. Lars Hoffmann, Dr. Mathias Müller



reply via email to

[Prev in Thread] Current Thread [Next in Thread]