C Board  

Go Back   C Board > Community Boards > A Brief History of Cprogramming.com

 
 
LinkBack Thread Tools Display Modes
Old 01-10-2003, 12:29 PM   #1
Registered User
 
Join Date: Jan 2003
Posts: 2
Help figuring out a checksum algorithm

Hi all, I'm new to the board and I need help.
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  
Old 01-10-2003, 03:16 PM   #2
End Of Line
 
Hammer's Avatar
 
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  
Old 01-10-2003, 03:46 PM   #3
It's full of stars
 
adrianxw's Avatar
 
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  
Old 01-10-2003, 03:58 PM   #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  
Old 01-10-2003, 10:00 PM   #5
geek
 
SilentStrike's Avatar
 
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  
Old 01-11-2003, 04:24 AM   #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

Forum Jump

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


All times are GMT -6. The time now is 01:30 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22