Download HTTP Server User Manual

Transcript
HTTP Server User Manual
1 Preface
Today, most computing platforms (like Windows, Linux, BSD, Solaris etc.) are shipped with
integrated web browsers and a TCP/IP protocol suite. This makes them excellent tools to be
used for communication between humans and embedded devices.
sevenstax offers a tiny HTTP server which is especially designed to work on embedded
systems (small memory footprint) and which is able to generate dynamic HTML forms at
runtime (called 'F-Server' in this document).
2 Features and Limitations
•
•
•
Stand-alone HTTP server.
•
Possibly one of the smallest web servers in the world (average: 3K ROM, 1K
RAM). RAM/ROM usage is highly customisable and can be sometimes under
1K/2K (see description below in this document).
•
Does not need Rx/Tx buffers. Incoming data is read from a stream and controls an
internal state machine.
•
Does not need an operating system but can also be used if you have one.
•
Does not need an Unix-style network interface (sockets).
•
Needs minimal system or hardware support (only one timer/counter required).
•
Non-blocking architecture ensures smooth behaviour when using into MCU main
loop or operating system task when running under an multitasking OS.
•
Capable of sending HTML pages, GIF, JPEG images, JAVA applets and many
more resource types.
•
Comes with full source code, extensive documentation, additional utilities for MS
Windows and samples.
•
Entirely written in ISO-C language which makes it easy to compile with standard
C-compilers (Those conforming to ISO/IEC 9899:1999).
•
Independent of bus width and processor architecture.
Trouble-free operation with most web browsers.
•
Tested with Netscape, Mozilla!, Internet Explorer, Opera and Konquerer web
browser.
•
Operates with HTTP 1.0 and HTTP 1.1.
Integrated support for dynamic HTML forms.
•
Application can change form controls at runtime.
•
Notification on POST events with automatic URL encoding.
Accepts 'application/x-www-form-urlencoded'
•
Developers can design form templates with common HTML design tools.
File: webserver_manual_3_1.odt
Revision No.: 3.1
Page 3 / 42
printed 15/11/06
Public