When running my application with FreeRTOS and LwIP, the code sometimes reports "netconn error" upon attempting a tcp connection. When this happens, the application reports successful tcp connection, but packets are never received on the other end. This remains true even after calling tcp_disconnect and reconnecting, although "netconn error" is never displayed again. The only solution I have found is rebooting the board.
If the app doesn't print "netconn error" on the first tcp connection attempt, the tcp connection will succeed and data will be transmitted.
I am using Wiced 3.0.1
This appears to be irrelevant in 3.1.1, as FreeRTOS/LwIP seem incredibly unstable compared to ThreadX/NetX (which appears to be more stable), which is mixed blessing.