I’m trying to use FreeRTOS Cellular Library and FreeRTOS+TCP from Quectel BG96 on STM32F427 to make MQTT connection.
However, I am having a problem with tlsHandshake().
The type of Socket_t used by Sockets_Connect() in sockets_wrapper.c is cellularSocketWrapper_t.
The type of Socket_t used by FreeRTOS+TCP is FreeRTOS_Socket_t.
Therefore, when prvTCPSendCheck() executes prvValidSocket, the result is pdFALSE.
Is there any incompatibility between Quectel BG96’s FreeRTOS Cellular Library and FreeRTOS + TCP?
Or am I misconfiguring it?
Can you give me some feedback on this issue?