English
Language : 

W3150 Datasheet, PDF (43/59 Pages) List of Unclassifed Manufacturers – WIZnet’s Online Technical Support
5.2.3. IP raw
IP Raw mode can be utilized if transport layer protocol of some ICMP or IGMP that W3150 does not support,
needs to be processed.
Socket Initialization
It initializes the socket as IP raw.
1. Set the protocol field of Socket n Mode Register(Sn_MR) as IP raw(0x03).
2. Assign to Socket n IP Protocol Register (Sn_PROTO) the vaule that you want.
The value of Protocol is the value used in Protocol Field of IP Header.
For the list of protocol identification number of upper classification, refer to on line documents of IANA
(http://www.iana.org/assignments/protocol-numbers).
3. Give OPEN command to Socket n Command Register(Sn_CR).
4. Check if the value of Socket n Socket Status Register(Sn_SSR) is SOCK_IPRAW. If not, try from the
first.
Received DATA?
It can be checked as below if data is received from remote peer.
Check the value of Socket n RX Received Size Register(Sn_RX_RSR) is 0x00 or not.
Or Check the RECV bit vaule of Socket n Interrupt Register(Sn_IR) is ‘1’ or not (If interrupt of Socket
n is activated, interrupt will occur. Refer to Interrupt Register (IR), Interrupt Mask Register (IMR),
and Socket n Interrupt Register (Sn_IR).
Receiving Process
Data receipt process is as below.
© Copyright 2005 WIZnet Co., Inc. All rights reserved.
ìîñëç