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

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
Appendix — Software Reference
Sample Program
Let’s examine some of the code in the SSL_FATSHELL.C sample program.
First, the program settings used at startup are defined. These macros are used by the parameters in the
function calls, and you may change the macro definitions to suit your needs.
TCP/IP Configuration
The TCPCONFIG 1 macro specifies a basic Ethernet configuration with no PPP, no DHCP, and no runt-
ime setup. The macro will set the IP configuration as follows.
If you would like to change the default values, for example, to use an IP address of 10.1.1.2 for the
RCM4300 module, and 10.1.1.1 for your PC, you can edit the values in the section that directly
follows the “General Configuration” comment in the TCP_CONFIG.LIB library. You will find this
library in the Dynamic C LIB\TCPIP directory.
You can create a CUSTOM_CONFIG.LIB library and use a TCPCONFIG value greater than 100. Instruc-
tions for doing this are at the beginning of the TCP_CONFIG.LIB library in the LIB\TCPIP directory.
There are some other “standard” configurations for TCPCONFIG that let you select different features such
as DHCP. Their values are documented at the top of the TCP_CONFIG.LIB library in the LIB\TCPIP
directory. More information is available in the Dynamic C TCP/IP User’s Manual.
Web Interface Configuration
These commands are used to configure the Web interface. The HTTP_MAXBUFFER macro is used for each
Web server to hold received and transferred information. In particular, it holds each header line received
from the Web client. Digest authentication generally results in a large WWW-Authenticate header that can
be larger than the default HTTP_MAXBUFFER value of 256.
These macros set the size of the network buffer to 40 bytes, the maximum number of HTTP servers on port
80 (4), the maximum number of open sockets (4), the number of TCP socket buffers (4), and the maximum
name length of each dynamic or static resource (32 bytes).
IP Address : 10.10.6.100
Netmask : 255.255.255.0
Nameserver: 10.10.6.1
Default gateway : 10.10.6.1
#define TCPCONFIG 1
022-0127 Rev. A
10

Related parts for 101-1243