I’m currently working with FreeRTOS+TCP from FreeRTOS_Labs_160112 on a SAM4E Xplained Pro Evaluation Kit (microcontroller : ATSAM4E16E), jointly with FreeRTOS V8.2.3, working with Atmel Studio 7.
My board is communicating with another “non-FreeRTOS running” board, through MODBUS/TCP protocol. My board is configured in client mode, and attempt to connect with the other one who is listening for entering connection requests. The connection and communication work fine but when we lost this connection for any reason, the other board don’t see it and I have to reboot it, or forging a reset to make it listen again to my connection requests. I can’t find out how I can send a TCP frame (with the RST flag on) through the freeRTOS+TCP API and is not experienced enough to find an other way…
I would be very grateful if someone have an idea about how to perform this reset, thank you very much for your concern.