Hello,
following the low RAM recommendations I disabled ipconfigUSE
TCPWIN.
Now I get a few errors like
../FreeRTOS-Plus-TCP/FreeRTOS_TCP_IP.c:807:45: error: 'IPTCPSocket_t {aka struct TCPSOCKET}' has no member named 'ucMyWinScaleFactor'
because there are unguarded occurences of pxSocket->u.xTCP.ucMyWinScaleFactor in lines 807, 2387, 2388, 2421. ucMyWinScaleFactor is not defined when ipconfigUSE
TCPWIN is disabled.
Also there is an error in prvSetSynAckOptions, with the usage of
~~~
#if( ipconfigUSE
TCPWIN != 0 )
…
#else
{
uxOptionsLength = 4u;
}
#endif
~~~
which is defined as
~~~
if ipconfigUSETCPWIN == 1
UBaseType_t uxOptionsLength;
endif
~~~
Also I think the different uses of
ipconfigUSE_TCP_WIN == 1
,
ipconfigUSE_TCP_WIN == 0
and
ipconfigUSE_TCP_WIN != 0
are a bit confusing.
As I do not fully understand TCP sliding windows and their implementation in FreeRTOS+TCP I’d like to ask for support to fix these bugs.
Regards, Michael