Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PHP - Generate Checksum CRC-CCITT

Posted on 2011-03-23
1
Medium Priority
?
1,276 Views
Last Modified: 2012-05-11
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!!
0
Comment
Question by:khilles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
tsmgeek earned 2000 total points
ID: 35203739
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question