CRC

I have a little application in VB6 that uses the MSComm control to read data coming in from the serial port. The data is being transmitted by another computer through a modem, over the air (1200 baud FM radio transmission), and being received at my end by another modem connected to the serial port of the PC. We now want to add some CRC (error checking) because as you can image, FM transmission is quite prone to errors. The data transmitted is simple ASCII strings of about 20 bytes at most. What would be a good CRC check to apply to the data? I don't need to correct errors - just identify them. I saw some examples of people simply XORing the bytes together, and then adding an extra byte at the end with the result. Is this good? I've also read about CRC16 and CRC32 and MD5 and so forth. We're looking for something simply yet effective.

Thanks
SETPAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark_FreeSoftwareCommented:

i think a simple xor should do the trick,

you can use just one, or 2 characters
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
2AngelCommented:
if you know what you goning to  recive you can calculate the string and send the result - if it is not match so you got a wrong string.....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.