PPPoE application with W5500

Dependencies:   W5500Interface mbed pppoe

- How to connect PPPoE with WIZ550 ioShield and mbed platform (Korean version)

http://hjjeon0608.wordpress.com/2014/09/25/wiz550io-ioshield-a%EC%99%80-mbed-%EB%B3%B4%EB%93%9C%EB%A5%BC-%EC%9D%B4%EC%9A%A9%ED%95%98%EC%97%AC-pppoe-%EC%97%B0%EA%B2%B0%ED%95%98%EA%B8%B0/

- How to connect ioShield to mbed platform(ST nucleo) of ST Microelectronics via SPI (Korean version)

http://hjjeon0608.wordpress.com/2014/09/25/wiz550-ioshield-a-%EC%99%80-mbed-%ED%94%8C%EB%9E%AB%ED%8F%BC-st-nucleo-f030r8-%EC%97%B0%EA%B2%B0%ED%95%98%EA%B8%B0/

- Example PPPoE server(RB750) setting (Korean version)

http://hjjeon0608.wordpress.com/2014/10/28/rb750pppoe-server-setting%ED%95%98%EA%B8%B0/

- W5500(PPPoE client) setting (Korean version)

http://hjjeon0608.wordpress.com/2014/10/29/temp/

- PPPoE library

http://developer.mbed.org/teams/EthernetInterfaceW5500-makers/code/pppoe/

Files at this revision

API Documentation at this revision

Comitter:
hjjeon
Date:
Thu Oct 16 06:36:45 2014 +0000
Parent:
2:d081c17abd1b
Child:
4:c56129381640
Commit message:
Bug fixed

Changed in this revision

W5500Interface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
pppoe/PPPoE.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/W5500Interface.lib	Thu Oct 16 01:32:50 2014 +0000
+++ b/W5500Interface.lib	Thu Oct 16 06:36:45 2014 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/EthernetInterfaceW5500-makers/code/W5500Interface/#dfffa4d6f022
+http://developer.mbed.org/teams/EthernetInterfaceW5500-makers/code/W5500Interface/#713b6d2aaefb
--- a/main.cpp	Thu Oct 16 01:32:50 2014 +0000
+++ b/main.cpp	Thu Oct 16 06:36:45 2014 +0000
@@ -98,9 +98,8 @@
     uint8_t str[15];
 
     printf("platform init done\r\n");
-
-
-
+    
+    
     /* PHY link status check */
 
     do
--- a/pppoe/PPPoE.cpp	Thu Oct 16 01:32:50 2014 +0000
+++ b/pppoe/PPPoE.cpp	Thu Oct 16 06:36:45 2014 +0000
@@ -1322,12 +1322,12 @@
     dummyPort = 0;
     mFlag = 0x80; //MAC filter enable in MACRAW
     
-    
+           
     switch(eth->getSn_SR(sock_num))
     {
-        case SOCK_CLOSED:
+        case WIZnet_Chip::SOCK_CLOSED:
             eth->close(sock_num);                                        // Close the SOCKET
-            Socket_macraw(sock_num, dummyPort, mFlag);       // Open the SOCKET with MACRAW mode
+            eth->Socket_macraw(sock_num, dummyPort, mFlag);       // Open the SOCKET with MACRAW mode
 #ifdef __DEF_PPP_DBG1__
             printf("No.%d socket is opened with MACRAW and flag is 0x%2x\r\n", sock_num, mFlag);
 #endif