EVB-PIC24 WIZnet, EVB-PIC24 Datasheet - Page 80

no-image

EVB-PIC24

Manufacturer Part Number
EVB-PIC24
Description
Development Boards & Kits - PIC / DSPIC W3150A+EVAL BOARD BASED ON PIC24
Manufacturer
WIZnet
Datasheet

Specifications of EVB-PIC24

Rohs
yes
Product
Development Kits
Interface Type
RS-232
Data Bus Width
16 bit
Dimensions
50 mm x 40 mm
Third, management of Network Information obtained from DHCP server can be performed by
check_DHCP_state().<Fig 3.30> shows DHCP message flow due to DHCP client state change in the
check_DHCP_state() process.
check_DHCP_state() checks if there is DHCP message from DHCP server, it receives and analyze DHCP
message. By types of analyzed DHCP message, if it‟s DHCP message that can be receivable, it changes to
next state after it changes DHCP Client State as DHCP Message Flow of <Fig 3.30> indicates.
After the half of leased time
STATE_DHCP_REREQUEST
STATE_DHCP_DISCOVER
STATE_DHCP_DISCOVER
STATE_DHCP_REQUEST
STATE_DHCP_REQUEST
#define DHCP_FLAGSBROADCAST
pRIPMSG->flags = htons(DHCP_FLAGSBROADCAST);
STATE_DHCP_LEASED
STATE_DHCP_LEASED
Receive Timeout
Receive Timeout
<Fig 3.30: DHCP Message Flow by DHCP Client State>
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
<Table 3-35: DHCP Message Flag Field Setup>
DHCP Client
DHCP_REQUEST (Unicast)
DHCP_DISCOVER
DHCP_DISCOVER
DHCP_REQUEST
DHCP_REQUEST
DHCP_DISCOVER
DHCP_REQUEST
0x8000
DHCP_OFFER
DHCP_OFFER
DHCP_NACK
DHCP_ACK
DHCP_ACK
DHCP Server
70

Related parts for EVB-PIC24