![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427070.webp)
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
User’s Manual
63
•
SMTP.C
—This program demonstrates using the SMTP library to send an e-mail when
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
SAMPLES\RCM3300\TCPIP\
RABBITWEB
folder.
•
BLINKLEDS.C
—This program demonstrates a basic example to change the rate at
which the DS3 and DS4 LEDs on the Prototyping Board blink.
•
DOORMONITOR.C
—The optional LCD/keypad module (see Appendix C) must be plugged
in to the Prototyping Board when using this sample program. This program demon-
strates adding and monitoring passwords entered via the LCD/keypad module.
•
SPRINKLER.C
—This program demonstrates how to schedule times for the relay and
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
SAMPLES\RCM3300\RemoteApplicationUpdate
folder.
•
DLP_STATIC.C
—This program uses the TCP/IP
LIB\TCPIP\HTTP.LIB
library, and
outputs a basic static Web page.
•
DLP_WEB.C
—This program outlines a basic download program with a Web interface.
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\
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\RCM3300\Module_Integra-
tion
folder demonstrates the use of the TCP/IP
LIB\TCPIP\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 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
FMT_DEVICE.C
sample
program in the Dynamic C
SAMPLES\FileSystem
folder. Open this sample program
with the
File > Open
menu, then compile and run it by pressing
F9
.
FMT_DEVICE.C
70 / 191
70 / 191