[lwip-users] Netconn API netconn_recv

2015-01-09 Thread Tóth Norbert
Hi, I posted a question on the Texas Instrument developer forum, but until now, I didn't receive any answer. You can check the link bellow: http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/393487 Can anybody help me? If You require any additional details or info related to the post, pl

[lwip-users] checksum

2015-01-09 Thread Nikolas Karakotas
Hi Simon, When (LWIP_CHKSUM_ALGORITHM == 1) the function isn't the same as the function definition and uses a u16_t. Below is the error: ../src/lwip/core/inet_chksum.c:82:1: error: conflicting types for 'lwip_standard_chksum' lwip_standard_chksum(void *dataptr, u16_t len) Nick --- This emai

Re: [lwip-users] tcp_output doesn't flush

2015-01-09 Thread Thiscord
Simon Goldschmidt wrote > That can't work: input processing is not called from your while(1) loop > and tcp_write/tcp_output thus still racing with input processing (e.g. > TCP ACKs). I'm not sure I understand this. Isn't input processing ballback-based? Simon Goldschmidt wrote >> just to ke

Re: [lwip-users] tcp_output doesn't flush

2015-01-09 Thread Thiscord
I see. The problem is that for time reasons the port that I've set up is done very poorly. It uses the raw api. It is nothing but a single thread that initializes the stack and then lowers its priority to minimum and loops endlessly just to keep the pcb variable valid. I know this is very bad but I

Re: [lwip-users] tcp_output doesn't flush

2015-01-09 Thread goldsi...@gmx.de
Thiscord wrote: I see. The problem is that for time reasons the port that I've set up is done very poorly. It uses the raw api. It is nothing but a single thread that initializes the stack and then lowers its priority to minimum and loops endlessly That can't work: input processing is not calle

[lwip-users] What is the best version of code to use for production

2015-01-09 Thread Robert Deschambault
Hi all, I notice that there have been a lot of fixes since the release of v1.4.1. Should we be looking at the latest fixes? Is a release coming soon? Thanks, Bob ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listin

Re: [lwip-users] tcp_output doesn't flush

2015-01-09 Thread goldsi...@gmx.de
Thiscord wrote The tcpSendQueue then only hands over the size of the data to send to a dedicated send task. The send task looks like this: uint16 payloadLength; while(1) { xQueueReceive( tcpSendQueue, &payloadLength, portMAX_DELAY ); tcp_wr

[lwip-users] tcp_output doesn't flush

2015-01-09 Thread Thiscord
Hello, I have a problem with tcp communication. I'm resending data from an automotive network over tcp and I'm using tcp_write followed by tcp_output to send the data immediately. I'm also using freeRTOS. I have a global TX buffer. The access to this buffer is protected by a mutex so that differen