EVB-PIC24 WIZnet, EVB-PIC24 Datasheet - Page 46

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
3.2.5.3.
Ping Request Program is a program that sends Ping Request to certain destination. It uses ICMP protocol
message on IP protocol and made with ping_request().
ping_request() is created with form similar to Ping program in DOS command prompt. It sends Ping request
to destination after analyzing and processing the options.
Both domain name and IP address can be used as destination address for Ping request. In case of using
domain name, domain name is changed into IP address using gethostbyname() or DNS. With the changed
IP address the Ping request is sent.
When IP address is used with „-a‟ option, domain name can be obtained through gethostbyaddr() from DNS
Server and the Ping request is sent to the IP address. When IP address is used without the „-a‟ option, Ping
request is sent to input IP address without the connection with DNS.
gethostbyname(), gethostbyaddr() is DNS-related functions. For further information, refer to
DNS
<Fig 3.8> creates tokens of inputs of Command, Option, and Option Value and decides the related Bit of
Argument Flag(PingArgsFlags).
<Fig 3.9> calls ping() based on relevant option and option after checking the validity of command, option,
and option value with bits of argument flag. ping() sends Ping request message to certain destination and
process the ICMP message which is received from any destination.
Client. <Fig 3.8> and <Fig 3.9> are processing procedures of ping_request().
u_char manage_channel(void)
void select_ch_app
(CHCONF* pChConf, u_char ch)
void get_chconf
(CHCONF* pChConf)
void set_chconf
(CHCONF* pChConf)
void display_chconf
(CHCONF * pChConf)
void load_factory_chconf(void)
char uart0_getchar(void)
Ping Request Program
Function Name
< Table 3-19: Reference Functions in manage_channel() >
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
Configure Channel Information
Select available Application Type and Setup
required factors
Get Channel Information
Update Channel Information
Output Channel Information through Terminal
Factory Reset Channel Information
Read one character from UART0
Description
evb/manage.c
evb/manage.c
evb/config.c
evb/config.c
evb/config.c
evb/config.c
mcu/serial.c
Location
Chapter 3.2.6.6
36

Related parts for EVB-PIC24