GXDN: Gurux Developer Network
GetChecksumParameters Method (position, chkType, start, size, crcSize, crcPolynomial, crcInitialValue, crcFinalXOR, crcReverseData, crcReflection)
NamespacesGurux.ClientGXClientGetChecksumParameters(Int32%, Checksum%, Int32%, Int32%, Int32%, Int32%, Int32%, Int32%, Boolean%, Boolean%)
Gets the current checksum parameters. Media must be selected before using this method.
Parameters
position ( Int32 %)
Checksum position.
chkType ( Checksum %)
Checksum type.
start ( Int32 %)
Zero indexed starting point of position, where checksum count is started.
size ( Int32 %)
Determines, how many bytes are counted for checksum.
crcSize ( Int32 %)
The size of the CRC (Cyclic Redundancy Check) checksum, given in bits.
crcPolynomial ( Int32 %)
The polynom of the CRC (Cyclic Redundancy Check) checksum.
crcInitialValue ( Int32 %)
The initial value of the CRC (Cyclic Redundancy Check) checksum.
crcFinalXOR ( Int32 %)
The integer on which, with the calculated CRC (Cyclic Redundancy Check) checksum, the XOR operation is done, at the end.
crcReverseData ( Boolean %)
If True, the calculated CRC (Cyclic Redundancy Check) checksum is reversed at the end.
crcReflection ( Boolean %)
If True, bits of the calculated CRC (Cyclic Redundancy Check) checksum, are swapped around its centre.
Remarks
Parameters CRCSize, CRCPolynomial, CRCInitialValue, CRCFinalXOR, CRCReverseData and/or CRCReflection can be used only, when checksum type is Custom (GX_CHK_CUSTOM).
See Also

Assembly: Gurux.Client (Module: Gurux.Client) Version: 5.0.0.1