72
RabbitCore RCM3750
6.6.2 Secure Sockets Layer (SSL) Sample Programs
You will need to have the Dynamic C SSL module installed before you run the sample
programs described in this section. The sample programs can be found in the SAMPLES\
RCM3700\TCPIP\SSL
folder.
Before running these sample programs, you will have to create an SSL certificate. The
SSL walkthrough in the online documentation for the Dynamic C SSL module explains
how to do this.
SSL_BROWSELED.C
—This program demonstrates a basic controller running a Web
page. Two “LEDs” are created on the Web page, along with two buttons to toggle them.
Users can change the status of the lights from the Web browser. The LEDs on the Pro-
totyping Board match the ones on the Web page. As long as you have not modified the
TCPCONFIG 1
macro in the sample program, enter the following server address in your
Web browser to bring up the Web page served by the sample program.
http://10.10.6.100
Otherwise use the TCP/IP settings you entered in the TCP_CONFIG.LIB library.
SSL_MBOXDEMO.C
—Implements a Web server that allows e-mail messages to be
entered and then shown on the LCD/keypad module. The keypad allows the user to
scroll within messages, flip to other e-mails, mark messages as read, and delete e-mails.
When a new e-mail arrives, an LED (on the Prototyping Board and LCD/keypad
module) turns on, then turns back off once the message has been marked as read. A log
of all e-mail actions is kept, and can be displayed in the Web browser. All current e-
mails can also be read with the Web browser.
6.6.3 Dynamic C FAT File System, RabbitWeb, and SSL Modules
The Dynamic C FAT File System, RabbitWeb, and Secure Sockets Layer (SSL) modules
have been integrated into a sample program for the RCM3750. The sample program
requires that you have installed the Dynamic C FAT File System, RabbitWeb, and SSL
modules. Visit our Web site at
www.rabbit.com or contact your Rabbit Semiconuctor sales
representative or authorized distributor for further information on these Dynamic C mod-
ules.
NOTE: These sample programs will work on the RCM3700, the RCM3720, and the
RCM3750, but not the RCM3710. The RCM3700 RabbitCore modules do not support
the download manager portion of the sample program.
TIP: Before running any of the sample programs described in this section, you should
look at and run sample programs for the TCP/IP ZSERVER.LIB library, the FAT file
system, RabbitWeb, SSL, the download manager, and HTTP upload to become more
familiar with their operation.
The INTEGRATION.C sample program in the SAMPLES\RCM3700\Module_Integration
and the SAMPLES\RCM3720\Module_Integration folders demonstrate the use of the
TCP/IP ZSERVER.LIB library and FAT file system functionality with RabbitWeb
dynamic HTML content, all secured using SSL. The sample program also supports
dynamic updates of both the application and its resources using the Rabbit Download