Originally posted by MonkEE
Sorry if i post this agian...
But, can some one give me a DETAIL describe of the error checking methods? Include info of how it is calculated, and main features (eg. 32-bit, remainder techniques etc...)
I believe it was posted before, in another thread. But honky tonk has provided (fatmuscles) notes, which are more than enough (you don't have to know each one in detail, just a general idea of how it works, with the inclusion of techniques used ie addition, polynomial division; remainders).
Originally posted by MonkEE
/Checksum
Counts the number of bits/8bits (i kno its 8 bit from soemwhere)
= ANS + REMAINDER
Then REMAINDER is send with packet for checking, calculating etc...
is that right?
Originally posted by honky tonk
I could be wrong, but I didn't think the remainder was taken into consideration for the checksum. I thought the total amount of data was divided into smaller groups, the count of bits was attached and checked at the end of transmission..
No, you are correct here honky. There is no remainder in checksums (it is a sum, not a divisional process like CRC --to follow). It is as you've said, the total number of bits is counted (check "sum"). Each count of bits is attached to the packet during transmission (naturally) and the end-receiver checks the number of bits, not the remainder by division.
The
whole data is
divided into smaller packets/groups.
The
total number of bits is added and verified.
Correct count = Successful transmission
Incorrect count = Unsuccessful transmission, requiring re-transmission of data packet(s).
/CRC
hmm your discription is a bunch of jibberish
Polynomials are part of the Extension 1 Mathematics course, so I don't think you would understand it if you hadn't (been through) polynomials in Year 10 Advanced Maths.
Data is divided into predetermined lengths and divided by a fixed divisor. Then, the remainder is sent along with the data. When the data is received, the same division takes place and the remainder is recalculated. If the two remainders do not match, an error has occured.
Exactly
P(x) = Q(x).A(x) + R(x)
Polynomial = Quotient x Divisor (and then your remainder).
It's basically what honky said.
"File (all data)" --> split into smaller segments/pieces (slicing a cake into equal parts (the divisor) for a number of people (the predetermined length)).
What's left over ("the crumbs") are then calculated, and compared to each other.