[lwip-users] Netconn vs. raw API performance

2016-09-19 Thread TJO
Hi All, I'm currently testing our hardware with lwip 1.4.1, and I see a big performance difference between using Netconn API and the RAW api. For baseline I have used the LPCopen sample 'TCP echo Standalone' and 'TCP echo FreeRTOS' demo's. I have re-written the demos to connect to a server appli

[lwip-users] tcp_echo sample for lpc17xx (LPCopen 2.10)

2016-08-19 Thread TJO
Hi all, I'm currently trying out some lwip demo's for my LPC1788 hardware. In the LPCopen 2.10 package there is some demo application (tcp echo) using lwip 1.4.1 One using raw TCP/IP standaolone (No RTOS) and one using Netconn API in FreeRTOS. I have written a simple TCP client test app in c#. I

Re: [lwip-users] CRC error when dhcp_start() used

2016-02-17 Thread TJO
Message- From: lwip-users-bounces+tjo=agramkow@nongnu.org [mailto:lwip-users-bounces+tjo=agramkow@nongnu.org] On Behalf Of Sergio R. Caprile Sent: 17. februar 2016 14:07 To: lwip-users@nongnu.org Subject: Re: [lwip-users] CRC error when dhcp_start() used lpc_ functions are not part of

[lwip-users] CRC error when dhcp_start() used

2016-02-17 Thread TJO
Hi all We have used the lwip 1.4.x for some years now, with static IP. It worked an still works great. I try to enable DHCP but I got some problems. When I have called dhcp_start(), all received ethernet frames are rejected by lpc_low_level_input with a CRC error. (lpc_enetif->prxs[idx].statusin

Re: [lwip-users] netconn_bind - How to "unbind"?

2015-01-20 Thread TJO
Hi, Maybee I also just could go to my accept function directly, instead of deleting the netconn's and start bind. Thomas -- View this message in context: http://lwip.100.n7.nabble.com/netconn-bind-How-to-unbind-tp23692p23725.html Sent from the lwip-users mailing list archive at Nabble.com.

[lwip-users] netconn_bind - How to "unbind"?

2015-01-16 Thread TJO
Hi Im using lwip 1.4.1. I use TCP and is the listen server using netconn API. Only one connection allowed. I create a NetConn I do a netconn_bind Then a netconn_listen Finally I call netconn_accept But, how do I handle a client reconnect in the case the client don't disconnect the correct way, b

Re: [lwip-users] pbuf_alloc failed after sometime at driver side.

2014-10-10 Thread TJO
Hi, I had the same problem in my lpc1788. When I ran it on the companies local network it was just a couple of minutes before it halted. On a closed network it ran like forever! I fixed it by increasing the mem size so I had space enough for allocation. So I had to move it from internal PIRAM to

[lwip-users] Handling of many small packages?

2014-09-11 Thread TJO
Hi I use the tcpecho sample with FreeRTOS for EA dev kit. I have re-written it so it makes connection to server, instead of listen. >From the server i send 14 bytes in a packet Then it sends 512 bytes in a packet. Every time the tcpecho sample receives a message it returns 14 bytes But if I s