Free (GPLv2) TCP/IP stack developed by TASS Belgium
Dependents: lpc1768-picotcp-demo ZeroMQ_PicoTCP_Publisher_demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test ... more
PicoTCP. Copyright (c) 2013 TASS Belgium NV.
Released under the GNU General Public License, version 2.
Different licensing models may exist, at the sole discretion of the Copyright holders.
Official homepage: http://www.picotcp.com
Bug tracker: https://github.com/tass-belgium/picotcp/issues
Development steps:
initial integration with mbed RTOSgeneric mbed Ethernet driverhigh performance NXP LPC1768 specific Ethernet driverMulti-threading support for mbed RTOSBerkeley sockets and integration with the New Socket APIFork of the apps running on top of the New Socket APIScheduling optimizations- Debugging/benchmarking/testing
Demo application (measuring TCP sender performance):
Import programlpc1768-picotcp-demo
A PicoTCP demo app testing the ethernet throughput on the lpc1768 mbed board.
Diff: EthernetInterface/EthernetInterface.cpp
- Revision:
- 8:406097e529eb
- Parent:
- 5:445d2fc04784
- Child:
- 18:c6f67fcfc62a
--- a/EthernetInterface/EthernetInterface.cpp Mon Jun 03 12:23:14 2013 +0000 +++ b/EthernetInterface/EthernetInterface.cpp Mon Jun 03 21:31:29 2013 +0000 @@ -53,6 +53,7 @@ static char mac_addr[19]; static char ip_addr[17] = "\0"; +static char gw_addr[17] = "\0"; static bool use_dhcp = false; static bool is_initialized = false; @@ -74,8 +75,8 @@ printf("IP assigned : %s\n",ip_addr); if (gateway.addr != 0) { - pico_ipv4_to_string(ip_addr, gateway.addr); - printf("Default gateway assigned : %s\n",ip_addr); + pico_ipv4_to_string(gw_addr, gateway.addr); + printf("Default gateway assigned : %s\n",gw_addr); pico_ipv4_route_add(zero, zero, gateway, 1, NULL); } printf("Unlocking\n");