101-1243 Rabbit Semiconductor, 101-1243 Datasheet - Page 9

SECURE EMBEDDED WEB APPLICATIONS

101-1243

Manufacturer Part Number
101-1243
Description
SECURE EMBEDDED WEB APPLICATIONS
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 4000r
Type
MPU Moduler
Datasheets

Specifications of 101-1243

Contents
Prototype Board, Power Supply and Accessories
Interface Type
Ethernet
Operating Voltage
3.3 V
Board Size
47 mm x 72 mm x 21 mm
Product
Modules
For Use With/related Products
RCM4300
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1136
• SSL_RSI.C—This sample program demonstrates how to control and monitor I/O via a Web
• SSL_RSI_RWEB.C—This sample program demonstrates how to control and monitor I/O via a Web
• SSL_RTC_RWEB.C—This sample program demonstrates how to view the Rabbit’s real-time clock
browser in real time. The sample program uses a CGI function call to communicate with a client
application within the ssl_rsi.htm Web page. The client application uses JavaScripts, iframes, and
forms to communicate with the Rabbit server (server_cgi() function call). This technique is
called remote scripting with iframes, and it allows Web servers to send data to clients without having
client requests. It allows for event-driven Web applications, which are hosted in the Web browser. Up
to five users can access the Rabbit server and view I/O in real time. This is limit is set by the HTTP_
MAXSERVERS-1 macro, which is set to 6. (At least one socket must remain open for users to have
the ability to post output changes to the server.)
This program also uses SSL and HTTP basic authentication. Any user can monitor the status of I/O in
real time, but only the ADMIN_USER, who is authenticated using HTTP Basic over an SSL connec-
tion, is able to make changes to the I/O.
Once you compile and run this sample program, you may access the Web interface through your Web
browser to toggle the Prototyping Board “LEDs” on/off with the “switches.”
Parallel Port B bit 2 = Prototyping Board LED DS2
Parallel Port B bit 3 = Prototyping Board LED DS3
Parallel Port B bit 4 = Prototyping Board switch S2
Parallel Port B bit 5 = Prototyping Board switch S3
browser in real time. The sample program uses a CGI function call to communicate with a client
application within the ssl_rsi.htm Web page. The client application uses JavaScripts, iframes, and
forms to communicate with the Rabbit server (server_cgi() function call). This technique is
called remote scripting with iframes, and it allows Web servers to send data to clients without having
client requests. It allows for event-driven Web applications, which are hosted in the Web browser. Up
to five users can access the Rabbit server and view I/O in real time. This is limit is set by the HTTP_
MAXSERVERS-1 macro, which is set to 6. (At least one socket must remain open for users to have
the ability to post output changes to the server.)
This program also uses SSL and HTTP basic authentication. Any user can monitor the status of I/O in
real time, but only the ADMIN_USER, who is authenticated using HTTP Basic over an SSL connec-
tion, is able to make changes to the I/O.
Once you compile and run this sample program, you may access the Web interface through your Web
browser to toggle the Prototyping Board “LEDs” on/off with the “switches.”
Parallel Port B bit 2 = Prototyping Board LED DS2
Parallel Port B bit 3 = Prototyping Board LED DS3
Parallel Port B bit 4 = Prototyping Board switch S2
Parallel Port B bit 5 = Prototyping Board switch S3
via a Web browser. The ADMIN_USER, who is authenticated using basic authentication over an SSL
connection, is able to make changes to the date/time.
The date and time are stored in UTC/GMT, which is converted to the time zone the computer is set to
using the JavaScript Date object in the Web browser.
022-0127 Rev. A
9

Related parts for 101-1243