Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Calculating CRC8 using Digest::CRC

by Anonymous Monk
on Jun 07, 2012 at 02:55 UTC ( #974863=note: print w/replies, xml ) Need Help??


in reply to Calculating CRC8 using Digest::CRC

Where do you get 7AEE840000187A011B80C001001100119103F3267D000000000000FF00000000 from, how do you know what its supposed to CRC8 as?

If you go to Cyclic redundancy check you'll see a bunch

CRC-8-CCITT CRC-8-Dallas/Maxim CRC-8 CRC-8-SAE J1850 CRC-8-WCDMA

Digest::CRC mentions CRC-CCITT which I assume is CRC-8-CCITT

This is as far as I looked :) because I couldn't find sample values -- I despise bit shifting and pointless word problems

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974863]
help
Chatterbox?
[Lady_Aleena]: What?! Can't stat ~/Music: No such file or directory? The ~/ doesn't expand?
[Lady_Aleena]: And the env variable $HOME doesn't work either. !@#$
[shmem]: no, that's a shell feature. Use $ENV{HOME}
[marioroy]: my $ans = qx{ find \$HOME -name "*.pl" -exec ls -l {} \\; };
[marioroy]: must backslash $ inside qx
[Lady_Aleena]: I haven't written perl for a while, I've been trying to do things at the command line. I'm having to relearn a lot.
[marioroy]: LA can you post the qx find again

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2017-04-23 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.