INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Jobs from Indeed

CRC16 for DNP3

CRC16 for DNP3

(OP)
Hi. Hoping for a little advise with the CRC16 package, I'm trying to get DNP3 CRCs out but what ever I do it comes back incorrect.

I've tried this:
crc::crc16 -format 0x%X -seed 1001111010110010 E0C0810000 which gave 0xF4E4

and this:
crc::crc16 -format 0x%X -seed 0x9E2B E0C0810000 which gave 0x6DC0

What I understand to be correct is 0xC1F0

The 9E2B and the 1001111010110010 are what I believe are the Hex and Bin seeds for DNP3 but I may be wrong.

Can anyone help please with correct syntax. Thanks in advance.

Dave

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close