01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Web Server Overview - <strong>SC12</strong> <strong>@CHIP</strong>-<strong>RTOS</strong> <strong>V1.10</strong><br />

<strong>IPC<strong>@CHIP</strong></strong> <strong>Documentation</strong> Index CGI API News<br />

Web Server Overview<br />

The explanations here assume the reader is somewhat familiar with the HTTP protocol.<br />

Web Server / CGI topics:<br />

● CGI_API Functions<br />

● CGI_in the <strong>IPC<strong>@CHIP</strong></strong><br />

● Built-In_CGI Functions<br />

● Building_a CGI function using a C compiler<br />

● File_Upload<br />

CGI API Functions<br />

Top of list<br />

Index page<br />

The CGI APIuses interrupt 0xAB, enabling the application programmer to install their own DOS program<br />

CGI functions in the <strong>IPC<strong>@CHIP</strong></strong> Web server's CGI table. This makes it possible to visualize and control an<br />

application running in the <strong>IPC<strong>@CHIP</strong></strong> via an Internet browser, using all features of modern Internet<br />

technology.<br />

CGI in the <strong>IPC<strong>@CHIP</strong></strong><br />

Top of list<br />

Index page<br />

The Web server of the <strong>IPC<strong>@CHIP</strong></strong> uses an internal CGI table. The CGI table is an array of<br />

CGI_Entrytypestructures. Defined for each entry is the URL name, the expected HTTP method(Get,<br />

Head or Post) and a pointer to a functionwhich will be executed if a matching browser request arrives at the<br />

<strong>IPC<strong>@CHIP</strong></strong>.<br />

Built-In CGI Functions<br />

There are two pre-installed CGI functions in the <strong>IPC<strong>@CHIP</strong></strong>, one of them named "ChipCfg". The preset<br />

entry in the internal CGI table has the name "ChipCfg" (Note: Since <strong>SC12</strong> <strong>@CHIP</strong>-<strong>RTOS</strong> <strong>V1.10</strong> Beta, SC13<br />

Page 366 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!