Hi,
I am running an UDP application on C6678evm. I'm using the Udp method sento to send packets. On executing sento i get the following errors:
PBM_Free: Invalid packet
PBM_enq: Invalid packet
What causes these errors? What am i doing wrong?
Thank you
Can you please describe more details of what your program is doing ?
How many packets have transferred before you see this error ?
Are there any other prints on the console and are there any prior warnings?
Regards,
Varada
---------------------------------------------------------------------------------------------------------
Kindly click the Verify Answer button on this post, if it answers your question.
Sorry about that.
The program is actually an integrated system containing a layer doing the UDP sends and receives. The UDP layer was separately tested and found to be working.
On integration, even the very first send threw the PBM_Free: Invalid packet error but seemed to be sending the packet all the same (The receiving side got the packet)
I had just been looking to see if somebody would be able to tell me what sort of scenario causes that error, so that i would know where to look for a fault in the code.
NdkSetup call was being done in 2 different places in the code. Eliminating one call seemed to fix the PBM_Free issue.
Thank you varada.