File System Interface
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:
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.