AFAIK, Crc16CalcBlock is standard (it uses the standard polynomial) and works.
UInt16 checksum;
checksum = Crc16CalcBlock(buffer, bufLen, 0);
-- Keith
[EMAIL PROTECTED] on 02/02/2001 08:59:11 AM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: Crc16CalcBlock
Does anyone know details about Crc16CalcBlock?
I need to calculate the CRC-16 for the Direct Connect Communications protocol.
The Crc16CalcBlock value I receive is not correct. I have researched the
Painless Guide to CRC Error Detection and can create a correct CRC from there,
but would like to use the Palm function to reduce overhead. Can the Crc
polynomial and bit direction be set by me when using this function?
Thanks
Sandi Southard
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/