VB6 Calculate 16 bit CCITT CRC for given HEX command

Fullført Lagt ut Mar 8, 2005 Betales ved levering
Fullført 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

Ingeniørvitenskap MySQL PHP Programvarearkitektur Testing av programvare Visual Basic

Prosjekt-ID: #3603080

Om prosjektet

7 bud Eksternt prosjekt Aktiv Mar 14, 2005

Tildelt til:

mariushudea

See private message.

$7 USD på 1 dag
(165 omtaler)
5.6

7 frilansere byr i gjennomsnitt $17 for denne jobben

achertog

See private message.

$29.75 USD på 1 dag
(62 Omtaler)
6.1
intellicodervw

See private message.

$17 USD på 1 dag
(15 Omtaler)
4.8
paxdiablo

See private message.

$20.4 USD på 1 dag
(72 Omtaler)
4.4
cardosovw

See private message.

$8.5 USD på 1 dag
(0 Omtaler)
0.0
kodijayasurya

See private message.

$12.75 USD på 1 dag
(1 anmeldelse)
0.0
cytronixtech

See private message.

$21.25 USD på 1 dag
(1 anmeldelse)
0.0