regregex Preferred Member
Joined: 30 Oct 2007 Posts: 119 Location: London, UK
|
| Apr 28, 2009 2:05 pm |
|
|
Hello Chris, welcome to the forum.
I believe the CRC is the following: | Code: | | Poly=$3d65 init=$0000 xorout=$ffff refin=false refout=false | (For an explanation of this record, see A Painless Guide to CRC Error Detection Algorithms by Ross Williams.)
(For a generic implementation in C, see A Painless Guide or the Calculator page.)
If so then the CRC is calculated on the packet starting with the length byte. All the values above are reasonable (Poly is the same as in DNP) but as there is only one packet this result may be a fluke.
HTH
--Greg |
|