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

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
<Fig 3.29: getIP_DHCPS()>
+
getIP_DHCPS() initializes W3150A
using setIP(),setMACAddr(),and etc, and it initializes ‘dhcp_state’
variable as DHCP client program state to ‘STATE_DHCP_DISCOVER’. After the initialization, it calls
send_DHCP_DISCOVER() to transfer a DHCP DISCOVERY message to DHCP server.
After transmitting DISCOVERY DHCP message, it initializes timer variables which are the leased time of
network information received from DHCP server by calling reset_DHCP_time() and uses ‘DHCP Timer’ for 1-
sec interval using set_timer(). After the initialization of DHCP_Timeout with 0, it waits for DHCP message to
be received from DHCP server as long as the ‘DHCP_WAIT_TIME’ defines and as many as the
‘MAX_DHCP_RETRY’defines. While waiting for ‘DHCP_WAIT_TIME & MAX_DHCP_RETRY’ time, it
continuously checks if dhcp_state is changed to STATE_DHCP_LEASED through check_DHCP_state().
71
© Copyright 2006 WIZnet Co., Inc. All rights reserved.

Related parts for EVB-B1+