Hello,
Yes I have made this code by understanding demo example. The reason for creating these tasks is that I want multiple tcp clients to connect. Sorry but I am unable to find the definition of fnet_socket_callback_on_rx. I want to understand the interrupt handling that you have done. in fnet_Socket :- /* Socket activity event handler.*/
static void (*fnet_socket_callback_on_rx)(void) ;
fnet_event_desc_t fnet_socket_event_rx;
Where is fnet_socket_callback_on_rx defined?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am trying to make a application based on FNET+FreeRTOS. Is the flow below correct ?
You are creating >3 tasks. Look at fnet freertos demo, which is using just one task for everything.
Yes.
Last edit: Andrej Butok 2018-02-01
But it doesnt get called when I ping my Board
Last edit: Abdullah Shafiq 2018-02-01
OK. It is called on UDP/TCP activity.
When you are pinging your board, it is handled on ICMP level - this is not Socket layer.
Thank you so much :)
Hello,
Yes I have made this code by understanding demo example. The reason for creating these tasks is that I want multiple tcp clients to connect. Sorry but I am unable to find the definition of fnet_socket_callback_on_rx. I want to understand the interrupt handling that you have done. in fnet_Socket :-
/* Socket activity event handler.*/ static void (*fnet_socket_callback_on_rx)(void) ; fnet_event_desc_t fnet_socket_event_rx;Where is fnet_socket_callback_on_rx defined?