Rabbitweb Sample Programs; Remote Application Update; Dynamic C Fat File System, Rabbitweb, And Ssl Libraries - Rabbit RabbitCore RCM3309 User Manual

C-programmable core module with serial flash mass storage and ethernet
Hide thumbs Also See for RabbitCore RCM3309:
Table of Contents

Advertisement

Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com
—This program demonstrates using the SMTP library to send an e-mail when
SMTP.C
the S2 and S3 switches on the Prototyping Board are pressed. LEDs DS3 and DS4 on
the Prototyping Board will light up when e-mail is being sent.

6.6.1 RabbitWeb Sample Programs

The following sample programs are in the Dynamic C
folder.
RABBITWEB
—This program demonstrates a basic example to change the rate at
BLINKLEDS.C
which the DS3 and DS4 LEDs on the Prototyping Board blink.
—The optional LCD/keypad module (see Appendix C) must be plugged
DOORMONITOR.C
in to the Prototyping Board when using this sample program. This program demon-
strates adding and monitoring passwords entered via the LCD/keypad module.
—This program demonstrates how to schedule times for the relay and
SPRINKLER.C
digital outputs in a 24-hour period.

6.6.2 Remote Application Update

The following programs that make up the featured application for the RCM3309/
RCM3319 can be found in the
—This program uses the TCP/IP
DLP_STATIC.C
outputs a basic static Web page.
—This program outlines a basic download program with a Web interface.
DLP_WEB.C
Complete information on the use of these programs is provided in the Remote Application
Update instructions, which are available with the online documentation.

6.6.3 Dynamic C FAT File System, RabbitWeb, and SSL Libraries

The Dynamic C FAT File System, RabbitWeb, and Secure Sockets Layer (SSL) libraries
have been integrated into a sample program for the RCM3309 and the RCM3319. The sam-
ple program requires that you have installed the optional Rabbit Embedded Security Pack.
TIP: Before running any of the sample programs described in this section, you should
look at and run sample programs for the TCP/IP LIB\TCPIP\
the FAT file system, RabbitWeb, SSL, the download manager, and HTTP upload to
become more familiar with their operation.
The
INTEGRATION.C
folder demonstrates the use of the TCP/IP
tion
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 Manager (DLM) and HTTP upload capability,
respectively—note that neither of these currently supports SSL security.
First, you need to format and partition the serial flash. Find the
program in the Dynamic C
with the
menu, then compile and run it by pressing
File > Open
User's Manual
SAMPLES\RCM3300\RemoteApplicationUpdate
sample program in the
SAMPLES\FileSystem
SAMPLES\RCM3300\TCPIP\
LIB\TCPIP\HTTP.LIB
ZSERVER.LIB
SAMPLES\RCM3300\Module_Integra-
LIB\TCPIP\ZSERVER.LIB
FMT_DEVICE.C
folder. Open this sample program
.
F9
FMT_DEVICE.C
folder.
library, and
library,
library and
sample
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rabbitcore rcm3319

Table of Contents