User’s Manual
61
•
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
You will need to have the Dynamic C RabbitWeb module installed before you run the
sample programs described in this section. 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 RCM3305/
RCM3315 can be found in the
SAMPLES\RCM3300\RemoteApplicationUpdate
folder.
•
DLP_STATIC.C
—This program uses the TCP/IP
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 Modules
The Dynamic C FAT File System, RabbitWeb, and Secure Sockets Layer (SSL) modules
have been integrated into a sample program for the RCM3305 and the RCM3315. The
sample program requires that you have installed the Dynamic C FAT File System, Rabbit-
Web, and SSL modules.
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\RCM3300\Module_Integra-
tion
folder demonstrates the use of the TCP/IP
ZSERVER.LIB
library and FAT file sys-
tem 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.
Содержание RCM3305
Страница 6: ...RabbitCore RCM3305 RCM3315...
Страница 14: ...8 RabbitCore RCM3305 RCM3315...
Страница 22: ...16 RabbitCore RCM3305 RCM3315...
Страница 28: ...22 RabbitCore RCM3305 RCM3315...
Страница 70: ...64 RabbitCore RCM3305 RCM3315...
Страница 106: ...100 RabbitCore RCM3305 RCM3315...
Страница 144: ...138 RabbitCore RCM3305 RCM3315...
Страница 160: ......