mbed IP library over Ethernet
Dependencies: lwip-eth Socket lwip lwip-sys
Dependents: denki-yohou_b Network-RTOS NTPClient_HelloWorld temp_FIAP ... more
Legacy Networking Libraries
This is an mbed 2 networking library. For mbed 5, the networking libraries have been revised to better support additional network stacks and thread safety here.
Diff: EthernetInterface.cpp
- Revision:
- 22:2a797ba9babe
- Parent:
- 21:8cd2de462559
- Child:
- 26:dd9794ce1d64
diff -r 8cd2de462559 -r 2a797ba9babe EthernetInterface.cpp --- a/EthernetInterface.cpp Fri Aug 03 14:43:57 2012 +0000 +++ b/EthernetInterface.cpp Sat Aug 04 13:44:35 2012 +0000 @@ -51,7 +51,7 @@ tcpip_inited.wait(); memset((void*) &lpcNetif, 0, sizeof(lpcNetif)); - netif_add(&lpcNetif, ipaddr, netmask, gw, NULL, lpc_enetif_init, ethernet_input); + netif_add(&lpcNetif, ipaddr, netmask, gw, NULL, lpc_enetif_init, tcpip_input); netif_set_default(&lpcNetif); netif_set_status_callback(&lpcNetif, netif_status_callback); }