EVB-B1+ WIZnet, EVB-B1+ Datasheet - Page 71

no-image

EVB-B1+

Manufacturer Part Number
EVB-B1+
Description
Development Boards & Kits - ARM W3150A+EVAL BOARD BASED ON AVR
Manufacturer
WIZnet
Datasheet

Specifications of EVB-B1+

Rohs
yes
Product
Evaluation Boards
Interface Type
RS-232, SPI
Operating Supply Voltage
3.3 V, 5 V
Data Bus Width
8 bit
Dimensions
50 mm x 40 mm
Processor Series
ATmega128
proc_http() calls parse_http_request() to analyse the HTTP request message received from web browser. If
the METHOD of analyzed HTTP request message is “GET”, “HEAD”, or “POST”, get_http_uri_name() is
called and URI Name is extracted from HTTP Request message. If extracted URI Name is “/”,replace URI
Name “/” to “index.html” which is web server default page of EVB B/D, because this means that web browser
is requesting default page of web server.
After getting the HTTP request type of HTTP request message by calling find_http_uri_type(), if HTTP
request type is “CGI”, it performs the related CGI command process.
After processing CGI commands or in case that HTTP request type is not the CGI, search file with URI Name
from ROM File Image which is built in EVB B/D.
If the file is found, create HTTP response message and send it.
HTTP Response message is composed of HTTP response header transmission and HTTP response body
transmission. For transmission of HTTP response header, it calls make_http_response_head() using HTTP
request type as the element to create HTTP response header. After transmitting the created HTTP response
header, the HTTP response body is transmitted. For example, if the HTTP response body is any file in ROM
File Image, the files are much bigger than the MTU of W3150A
size of W3150A
B/D in HTTP response body exist, it calls replace_sys_env_value() and replaces system environment
variables to system environment value stored in EVB B/D.
<Table 3-30> is a part of “evbctrl.html” in ROM File Image of EVB B/D.
The length of the system environment variables is defined to fit the length of system environment value to be
replaced. For example, if Source IP Address of EVB is expressed in string, the maximum is 16. Hence, the
length of $SRC_IP_ADDRESS$ is 16 as well. ‘ROM File System’ of EVB B/D can be created with
<tr>
</tr>
<tr>
<td height="27"><input name="gwip" type="text" size="20" value="$GW_IP_ADDRESS$"></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<td width="110" height="22"><font color="#FEFEEF">...</font>Source IP</td>
<td width="240" height="27"><input name="sip" type="text" size="20" value="$SRC_IP_ADDRES$"></td>
<td width="110" height="22"><font color="#FEFEEF">...</font>Gateway IP</td>
<td width="110" height="22"><font color="#FEFEEF">...</font>Subnet Mask</td>
<td height="27"><input name="sn" type="text" size="20" value="$SUB_NET__MASK$"></td>
<td width="110" height="22"><font color="#FEFEEF">...</font>DNS Server IP</td>
<td height="27"><input name="dns" type="text" size="20" value="$DNS_SERVER_IP$"></td>
<td width="110" height="22"><font color="#FEFEEF">...</font>MAC Address</td>
<td height="27">$SRC_MAC_ADDRESS$</td>
+
<Table 3-29: System Environment Variables Usage at “evbctrl.html” >
before transmission. At this point, if system environment variables that are defined in EVB
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
+
. Hence it has to be divided into maximum
61

Related parts for EVB-B1+