Hi,
I am writing a code that communicates with a PC using NDK. I have based my code on the helloWorld example that is included in the mcsdk's demos folder. My application receives a video frame of lenght 4096 bytes using a messaging protocol, (the frame is divided into three packets. UDP is used.) application unifies the frame and then by using the same messaging protocol it sends the exact same frame back to the receiver, During this process, first two frames are sent OK meaning that six packets are sent OK. But my code cannot send the first packet of third frame information, 7th packet. When it tries to use the sendto function, messages appear on the console saying: PBM_free: Invalid packet. This messages continuously appear until I terminate the running code, and there is a counting field starting from 00000.829. The message I see is in the following format;
00000.829 PBM_free: Invalid Packet
00000.830 PBM_free: Invalid Packet
00000.831 PBM_free: Invalid Packet
And it counts up. I am stuck here and I need to solve this problem. Can anyone help?
Thanks,
Tunc