![]() |
| | #1 |
| Registered User Join Date: Jan 2003
Posts: 2
| Help figuring out a checksum algorithm I am trying to figure out a checksum algorithm. from what I know it is a fairly simple alg but i still am having trouble. Here is a sample of the data and the checksum: F0 20 20 31 30 37 2E 37 20 46 4D 32 2E 34 20 20 20 and the Checksum is 3E Another set of Data is F0 43 44 20 30 31 20 20 1C 54 52 20 31 31 20 1C 1C and the Checksum is 3A another is F0 20 20 31 30 37 2E 37 20 46 4D 32 2E 35 20 20 20 and the checksum is 3D Any help would be greatly appreciated. |
| barem23 is offline |
| | #2 |
| End Of Line Join Date: Apr 2002
Posts: 6,240
| Doesn't look like a C question to me.... over to GD we go...
__________________ When all else fails, read the instructions. If you're posting code, use code tags: [code] /* insert code here */ [/code] |
| Hammer is offline |
| | #3 |
| It's full of stars Join Date: Aug 2001
Posts: 4,833
| What is the context? Where does the data/checksum come from? There are two reasons for asking. 1. Knowledge of the context may suggest a standard solution, and so we can help you. 2. If you are trying to hack something, then we will not! If you have a legit problem here, post a few more details, and we'll see what we can do.
__________________ Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream. |
| adrianxw is offline |
| | #4 |
| Registered User Join Date: Jan 2003
Posts: 2
| This is a signal from my car radio to my cars display system. I want to figure it out so I can display my own information to it. |
| barem23 is offline |
| | #5 |
| geek Join Date: Aug 2001 Location: NJ
Posts: 1,141
| Can you throw arbitrary input to the the display? Can you do stuff like change the least significant bit by just one?
__________________ Prove you can code in C++ or C# at TopCoder, referrer rrenaud Read my livejournal |
| SilentStrike is offline |
| | #6 |
| .... Join Date: Aug 2001 Location: Groningen (NL)
Posts: 2,386
| What kind of car radio is it? Perhaps someone knows the protocol this radio uses. How did you know that the sample data was real sample data and the checksum is correct? |
| Shiro is offline |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| weird checksum function | sagitt13 | C Programming | 7 | 10-31-2006 01:25 AM |
| Binary Search Trees Part III | Prelude | A Brief History of Cprogramming.com | 16 | 10-02-2004 03:00 PM |
| Request for comments | Prelude | A Brief History of Cprogramming.com | 15 | 01-02-2004 10:33 AM |