cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube LwIP TCP Sending

Reiner Schmidt
Associate
Posted on April 12, 2018 at 15:49

I have used the STM32Cube software and the tcp_echoserver to create a working echo server with no issues. Now I am trying to expand on the echo server. I want to be able to send data without the requirement of data having been already sent (however a connection has been established).

Normally with LwiP this is very easy to do because most of the work is done by tcp_write & output. Now using free RTOS there are callbacks that handle all of the receiving and other tcp connection stuff. However this seems to constrain the tcp_echo_server struct.

My question is how to send tcp data using the existing callback system in freeRTOS, after getting a connection and without receiving data every time we send.

#lwip #freertos+tcp #freertos
0 REPLIES 0