Hi Alex,
[/quote]
This is probably the source of your problems. How long do tcp_write() and tcp_output() take? If they take more than 5-10 ms, then you will have dropped frames.
When appDataInd() is blocked, only one other frame can be buffered in the radio for further processing, the rest of them will be rejected.
At this data rate, you need to accumulate data from many devices and send it in one chunk. And this sending must be fast, or it must be split into smaller section using state machines.
[/quote]
As soon as I come out of appDataInd, I can avoid dropping packets. I come up with FIFO buffer idea which is used to store frame in appDataInd function. So, I am not going to use tcp functions in appDataInd. In while (1), tcp transmission will be performed if FIFO HEAD and TAIL not matched.
It will work?
Thanks,
Muthu