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 RTOS
  • generic mbed Ethernet driver
  • high performance NXP LPC1768 specific Ethernet driver
  • Multi-threading support for mbed RTOS
  • Berkeley sockets and integration with the New Socket API
  • Fork of the apps running on top of the New Socket API
  • Scheduling 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.

Revision:
122:5b1e9de8bf7f
Parent:
70:cd218dd180e5
Child:
131:4758606c9316
--- a/modules/pico_dhcp_common.h	Thu Nov 21 09:35:58 2013 +0000
+++ b/modules/pico_dhcp_common.h	Thu Nov 21 09:48:05 2013 +0000
@@ -100,7 +100,7 @@
 	char    hostname[64];
 	char    bootp_filename[128];
 	uint32_t dhcp_magic;
-	uint8_t options[0];
+	uint8_t options[];
 };
 
 struct __attribute__((packed)) pico_dhcp_opt
@@ -130,10 +130,10 @@
       uint8_t value;
     } opt_overload;
     struct {
-      char name[0];
+      char name[1];
     } tftp_server;
     struct {
-      char name[0];
+      char name[1];
     } bootfile;
     struct {
       uint8_t type;
@@ -142,10 +142,10 @@
       struct pico_ip4 ip;
     } server_id;
     struct {
-      uint8_t code[0];
+      uint8_t code[1];
     } param_list;
     struct {
-      char error[0];
+      char error[1];
     } message;
     struct {
       uint16_t size;
@@ -157,10 +157,10 @@
       uint32_t time;
     } rebinding_time;
     struct {
-      uint8_t id[0];
+      uint8_t id[1];
     } vendor_id;
     struct {
-      uint8_t id[0];
+      uint8_t id[1];
     } client_id;
   } ext;
 };