Hi,
I use idkam437x with ccs 6.1.2, sysbios 6.45.1.29, sdk 2.1.1.2 and ndk 2.24.3.35.
I have an application in which some tcp frames should be obtained trough ethernet connection. The first one should be handled in high priority and the rest could be received in normal mode with appropriate transmission timeout.
So far, I succesfully configured the emac instance on my idkam437x as it can be pinged. The first packet with high priority number in vlan tag is going to be received by callback function. But I don't know how to handle the rest them. In every ndk example the only way presented is daemon creation which I don't like due to its complication and workload. Instead of that, I would like to establish an ordinary socket. I saw some examples of socket creation on E2E but they do not answer some questions:
- Is it sufficient to create a socket without opening a session by fdOpenSession?
- If I need to open a session I should probably create a separate task (provided as fdOpenSession() argument) for handling a socket? I don't want to create a task for that as it is similar to daemon action...
- Is there ANY example found somewhere in sdk or ndk (or elswhere) about handling packets that are not in the category of 'Protocol specific callback' but not by Daemon?? I don't mean NDK Guide or Reference Guide with plain information, just a piece of code?
Thanks,
JJ