The Embedded Web Server can read files also from a generic File
System. All interface functions are located in HTTP_uif.c,
which is a user interface module. This module is in the
\Keil\ARM\RL\TCPnet\User folder. For large Web resources, you
must copy it to your project directory and add it to your
project.
The HTTP_uif.c module is preconfigured for RL-FlashFS, so no modifications are
required. You can modify this interface module to use another type of
file system or to use a different storage media such as a hard
disk.
The following functions are implemented in this module:
http_fclose() -
close a file that was previously opened.
http_fread() - read a
block of data from a file to data buffer.
http_fgets() - read a
string from a file to data buffer.
http_finfo() - read
last modification time of a file.
The following system functions are included in the RL-TCPnet
library:
http_date() - convert
the RL date format to UTC time format.
When a complete Web site is stored internally in the code, you
should not include the HTTP_uif.c module into the
project to reduce the code size of the image.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.