Checksum byte calculating???

D

Thread Starter

de_staco

Hi!

I have a device that communicates with the computer, serial, and it uses checksum byte.

One of the commands it sends is:

"0x04 ,0x82 ,0x80 ,0x0C ,0x14 ,0x03 ,0xB0 ,0x01 ,0x12 ,0x10 ,0x03 ,0xAD"

Checksum byte is 0xAD but l can't calculate CRC byte.

Anyone have ideas? I don't know what to do!!

Thank you in advance.
 
Hello,

That is the byte stream you are receiving but you must know the protocol that is in use to determine which bytes need to be included or excluded from the checksum.

Good luck,

Mark
www.peakhim.com
 
F

Fred Loveless

I evalute a lot of protocols for our UCON driver. You really need the protocol document for the device. it will have a description of the checksum calculation.

If you can tell us the make and model of the device someone in the forum may have worked with it before.

Fred Loveless
Support Manager
Kepware Technologies
http://www.kepware.com
 
Top