
IPC@CHIP
®
DK55
Getting Started V1.0
3.4.3 The
web
server
The @CHIP-RTOS includes a web server via which you can access HTML pages situated on
your IPC@CHIP
®
’s flash with your web browser. These HTML pages may include multi-media
content such as images, Java Applets, Flash movies and more. The web server also includes
a CGI interface. This allows the creation of pages with dynamic content in your applications.
To achieve this, a certain function is registered with the web browser that will be called if a
certain web address is requested. This function will then build the page.
By default there are two active CGI pages on your IPC@CHIP
®
. One of them, the main page,
is disabled when uploading the DK60 Visualisation Demo. The second one is still accessible
under the address http://172.30.10.50/ChipCfg, assuming that 172.30.10.50 is your
IPC@CHIP
®
’s IP address. This page shows some more or less useful information on the
chip’s configuration.
When creating your own web pages for your IPC@CHIP
®
use the DB54 Visualisation Demo as
an example.
@CHIP-RTOS also features a SSL (Secure Socket Layer) web server. SSL uses
cryptographic methods to establish a trusted connection between the SSL web server and the
browser, which makes it impossible for third parties to spy on or manipulate transferred data.
To set up the SSL web server you need a certificate which identifies your IPC@CHIP
®
unambiguously to the user. You may create such a certificate yourself or buy one from a so-
called Certification Agency. This agency then signs the certificate and guarantees its
authenticity. To register the certificate with the web server and enable the SSL functionality
you have to use the
CHIP.INI
configuration file. Besides the certificate which consists of two
files, you need to generate a file containing private and public keys used with the cryptographic
functions.
3.4.4 The PPP server/client
PPP (the Point to Point Protocol) is a mechanism for running TCP/IP over a serial link - be that
a direct serial connection (using a null-modem cable), or a link made using an analogue
modem.
Other computers can dial into the IPC@CHIP
®
PPP server and communicate via the TCP/IP
link using FTP, Telnet, HTTP, etc. in the same manner as with an Ethernet TCP/IP link. One
major difference between a PPP and an Ethernet connection is of course the speed. The
IPC@CHIP
®
’s Ethernet interfaces operate at 100 mbps, whereas an analogue modem
operates at speeds up to 56 kbps.
PPP is strictly a peer to peer protocol. There is no difference between the machine that dials in
and the machine that is dialled into. However, it is still useful to think in terms of servers and
clients. When you dial into a site to establish a PPP connection, you are considered the client.
The machine to which you connect (e.g. the IPC@CHIP
®
) is considered the server. The
@CHIP-RTOS operating system provides TCP/IP API functions for either side of this
client/server relationship.
PPP at the IPC@CHIP
®
includes the sub protocols LCP and NCP (IPCP). Supported
authentication protocols are PAP and CHAP.
Copyright © 2007 Beck IPC GmbH
Page 30 of 35