FreeRTOS IP callbacks

heinbali01 wrote on Monday, April 15, 2019:

The code looks perfect to me. It is an original approach!

Isn’t the Dummy_Handler() called as a default handler, in case no other exception handler is defined?

The problem might be unrelated to the code that you show here. Maybe it is an interrupt from a peripheral that you forgot to implement?

Well, one remark regarding the code:

	FreeRTOS_shutdown ( Callback_Message.Connect_Disconnect.xSocket, FREERTOS_SHUT_RDWR );
	FreeRTOS_closesocket ( Callback_Message.Connect_Disconnect.xSocket );

Here a disconnect was detected, and therefore it makes no sense to call FreeRTOS_shutdown(). It is enough to close the socket. This is unrelated to the crash though.