VB6 Calculate 16 bit CCITT CRC for given HEX command
$30-50 USD
Betales ved levering
Hey, hope you can help :)
I am writing a prog in VB6 that communicates with a serial device. No problems with the comms, but each HEX command sent to the device must include a 16 bit CCITT CRC and this is the bit that's driving me crazy - I can build the HEX command, but not the CRC.? Below are two complete and correct hex commands sent to the device including the 16 bit CRCs (a dump taken from the log of the prog i am re-writing). Every method I have tried does not return the "17 C5" and "8B 7F" checksums as shown and so its over to the math gurus.
02 05 00 33 20 17 C5
02 0C 80 2F 92 37 02 80 FF FF 00 05 8B 7F
The 16 bit CCITT CRC of the message is zero seeded, LSB LS bit first, using the polynomial, X^16 +X^12 +X^5 +1. I really need a sub or function that? returns the CRC of any given hex command passed to it.
Thanks in advance.
## Deliverables
Rent A Coder requirements notice: As originally posted, this bid request does not have complete details. Should a dispute arise and this project go into arbitration "as is", the contract's vagueness might cause it to be interpreted against you, even though you were acting in good-faith. So for your protection, if you are interested in this project, please work-out and document the requirements onsite.
1) source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows:? delivered as VB6 project.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
VB6 under Win9x, NT, 2000
Prosjekt-ID: #3603080