TPppFcs32 Class Reference
Calculates the CCITT CRC-32 used as an option by PPP in HDLC framing.
Constructor & Destructor Documentation
Member Functions Documentation
Calc(const TUint8 *, const TUint8 *)
Calculate a new FCS given the current FCS and the new data.
CalcByte(TUint8)
void
|
CalcByte
|
(
|
TUint8
|
aByte
|
)
|
[inline]
|
Incrementally calculates the CRC for the next message byte.
Fcs()
Returns the current CRC value.
Init()
Sets the CRC value to the initial state before calculation.
IsGood()
TBool
|
IsGood
|
(
|
)
|
const [inline]
|
Determines if the calculated CRC is valid.
Member Enumerations Documentation
Enum anonymous
Enumerators
KPppInitFcs32 = 0xffffffff
|
Initial FCS value
|
KPppGoodFcs32 = 0xdebb20e3
|
Good final FCS value
|
Member Data Documentation
const TUint32 FcsTable
const
TUint32
|
FcsTable
|
[private, static]
|
Fast CRC calculation table
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.