EVB-PIC24 WIZnet, EVB-PIC24 Datasheet - Page 76

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
In the Option Field of 312 Bytes, the unused bytes are denoted with 0‟s padding.
<Table 3-34> is defined as Enumeration Data Type in “inet/dhcp.h” and shows most common Option Codes
that are used in DHCP Client Program.
The operation of DHCP Client Program is displayed in EVB B/D‟s main(). Refer to <Fig 3.3: EVB B/D‟s
main()>
First, set up the MAC address to be used by DHCP Client at the initialization. MAC address is unique
address for all the devices in the network. MAC address is most basic address in Network communication
and necessary information to recognize DHCP Clients in DHCP Server. For MAC Address of DHCP Client
program, it sets up SRC_MAC_ADDR which is Global Variable of DHCP Client using the MAC Address of
EVB B/D. By calling init_dhcp_client() after setup of SRC_MAC_ADDR, it can register two function to be
called in case of collision of the IP received from DHCP Server and in case of renewal the IP from DHCP
Server.
When calling init_dhcp_client(), if each function is not specified, set_DHCP_network() and proc_ip_conflict()
of DHCP Client Program are registered respectively.
Other codes that are not defined in <Table 3-34> are skipped from DHCP Client Program.
Code
255
12
50
51
53
54
55
61
0
1
3
6
padOption
subnetMask
routersOnSubnet
dns
hostName
dhcpRequestedIPaddr
dhcpIPaddrLeaseTime
dhcpMessageType
dhcpServerIdentifier
dhcpParamRequest
dhcpClientIdentifier
endOption
Enumeration Type
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
<Table 3-33: DHCP Message Option Code Definition>
used to cause subsequent fields to align on word boundaries
specifies the client's subnet mask
a list of IP addresses for routers on the client's subnet
specifies a list of DNS servers available to the client
specifies the name of the client
request that a particular IP address be assigned by the server
a lease time for the IP address
used to convey the type of the DHCP message
the IP address of the selected server
request values for specified configuration parameters
specify client unique identifier
marks the end of valid information
Description
66

Related parts for EVB-PIC24