Click here to Skip to main content
16,003,265 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Sir,

We are working on sending UDP packets to PSI SI. We are developing PSI SI generator.
But we are stuck on CheckSum CRC32 - we are not able to find the check sum. I tried on few code from the internet . It comes up with some checksum but that checksum doesnt match with wireshark check sum .

We have wireshark dump of the PSISI packets working with correct checksum .

Can anyoone help me in calculating the checksum for the PSI SI ?


Regards,
Vipul
Posted
Comments
[no name] 27-Jan-16 5:26am    
There is no question here. This is where you apply the craft of programming.

1 solution

Not really - we'd have to work out what the protocol is, what parts should be included in the CRC and which shouldn't. Then we'd have to find a CRC generator, and some sample data and try it. Basically, that's doing your work for you, only you get paid for it! :laugh:

Instead, look at what you have so far. The most common mistake when generating checksums of whatever type is including too much or too little data in the sum check: often the "start" and "end" framing characters aren't included in the calculation.
So start by looking at the protocol description, and try using your CRC code on the known examples you have (but we don't) to see what it gives. If that doesn't generate the right values, check the protocol and see if you have included or excluded characters you shouldn't have.
CRC is pretty basic stuff these days, so it shouldn't take you too long to work it out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900