Topic: WolfSSL + FreeRTOS user settings

Our solution plan to use wolfSSL_CTX_SetIORecv()
wolfSSL_CTX_SetIOSend() call backs for accessing the FreeRTOS_recv() and FreeRTOS_send() and defined the WOLFSSL_USER_IO. Do I need to define FREERTOS_TCP in user settings? Can someone point me to the docs where I can get this info?
Best Regards,
BK

Share

Re: WolfSSL + FreeRTOS user settings

Hi BK,

FREERTOS_TCP sets the IO send and receive callbacks to the FreeRTOS_send/recv functions.  I would recommend defining FREERTOS_TCP and letting wolfSSL handle setting the send/recv callbacks rather than overriding them yourself, as FREERTOS_TCP also handles some other requirements (including errno.h, defining the socket error codes, etc).

We do document our build settings in our manual: https://www.wolfssl.com/documentation/m … eertos_tcp

Thanks,
Kareem

Share