Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: CRC and Serial Portby twerq (Deacon) |
on Dec 05, 2001 at 01:47 UTC ( [id://129455]=note: print w/replies, xml ) | Need Help?? |
about the checksum -- you obvously know more than I do about the other end that's sending you the data, but i've always done checksums on the whole record after zeroing the checksum, so you might end up having to pack it back up using the same unpack template... ...but for calculating the checksum itself, you might end up using unpack a third time from perldoc -f unpack:
--twerq
In Section
Seekers of Perl Wisdom
|
|