English
Language : 

W3150 Datasheet, PDF (48/59 Pages) List of Unclassifed Manufacturers – WIZnet’s Online Technical Support
Saving Information
As PPPoE connection is succeeded, PPPoE related information will be saved.
1. Read the value of Socket 0 Destination Hardware Address Register(S0_DHAR) and save it to a
variable as PPPoE SERVER Hardware Address.
2. Read the value of Socket 0 Destination Port Register(S0_DPORT) and save it to a variable as
PPPoE Session ID.
3. Those valued can be used in the process of PPPoE disconnection.
Socket Close
All the process is completed, close the socket.
1. Give CLOSE command to Socket 0 Command Register(S0_CR).
In order to use socket 0 as other modes(TCP, UDP, IP Raw, MAC Raw), CLOSE command should
be given. DISCONNECT command instead of CLOSE, should not be given. If Socket 0 Mode is
PPPoE, DISCON commands will perform PPPoE SERVER disconnection. Therefore, with this
commands, all the sockets can not perform normal communication. For the normal action, PPPoE
connection should be performed from the first step.
* PPPoE connection termination can be performed as below.
1. Set the PPPoE bit of Mode Register(MR) as 1.
2. Set the protocol field of Socket 0 Mode Register(S0_MR) as PPPoE(0x05). Be sure to use Socket 0.
Other sockets are not supported.
3. Write PPPoE SERVER Hardware Address saved in a variable to Socket 0 Destination Hardware
Address Register(S0_DHAR).
4. Write PPPoE Session ID saved in a variable to the Socket 0 Destination Port Register.
5. Give OPEN command to Socket 0 Command Register(S0_CR).
6. Give DISCON command to Socket 0 Command Register(S0_CR).
* After PPPoE authentication, TCP communication, UDP communication, and IP_RAW communication are
same as 5.2.1. TCP, 5.2.2. UDP, and 5.2.3. IP raw.
© Copyright 2005 WIZnet Co., Inc. All rights reserved.
ìéñëç