khilles
asked on
PHP - Generate Checksum CRC-CCITT
I apologize as I know very little about Hex but we have a GPS product that we need to send messages to (via UDP data posting) and I need to generate a 2 byte checksum value in PHP and don't know how to proceed.
The example says the following:
0x05d8 = CRC-CCITT (24 24 00 11 13 61 23 45 67 8f ff 50 00)
So, I need a PHP function where I can pass in that value in the parenthesis and get back the 05 D8 (I presume).
It very well may be that there is a PHP function already to do this.
Any help is greatly appreciated!
Thanks!!
The example says the following:
0x05d8 = CRC-CCITT (24 24 00 11 13 61 23 45 67 8f ff 50 00)
So, I need a PHP function where I can pass in that value in the parenthesis and get back the 05 D8 (I presume).
It very well may be that there is a PHP function already to do this.
Any help is greatly appreciated!
Thanks!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.