Thema: Delphi CRC-CCITT-16 0x8811

Einzelnen Beitrag anzeigen

gammatester

Registriert seit: 6. Dez 2005
999 Beiträge
 
#6

AW: CRC-CCITT-16 0x8811

  Alt 12. Jun 2012, 08:46
Die große Preisfrage ist, was bedeutet CRC-CCITT-16 0x8811. Normalerweise würde ich erwarten, daß 0x8811 das Generator-Polynom ist. Allerdings ist 0x8811 völlig ungewöhnlich. Woher hast Du das? In Deinem eigenen Code sehe ich nix wie $8811! Aber nehmen wir mal an, es stimmt. Mein Opensource CRC16-Suchprogramm SRP16 (via http://www.wolfgang-ehrhardt.de/crch...l#crchash_demo) liefert für Deine Werte
Code:
===== Checking for known algorithms =====
Checked data sets
CRC1: $e28b,  Data1: 0E0000272601F9F0FF0DFF
===== done =====

===== Result parameter sets =====
CRC=$e28b Poly=$8811  init=$0b97  xorout=$ffff refin=false refout=true
CRC=$e28b Poly=$8811  init=$1787  xorout=$0000  refin=false refout=false
CRC=$e28b Poly=$8811  init=$2926  xorout=$ffff refin=false refout=false
CRC=$e28b Poly=$8811  init=$3536  xorout=$0000  refin=false refout=true
CRC=$e28b Poly=$8811  init=$4064  xorout=$ffff refin=true  refout=false
CRC=$e28b Poly=$8811  init=$5c74  xorout=$0000  refin=true  refout=true
CRC=$e28b Poly=$8811  init=$62d5  xorout=$ffff refin=true  refout=true
CRC=$e28b Poly=$8811  init=$7ec5  xorout=$0000  refin=true  refout=false
CRC=$8be2  Poly=$8811  init=$8b36  xorout=$ffff refin=true  refout=false
CRC=$8be2  Poly=$8811  init=$9726  xorout=$ffff refin=true  refout=true
CRC=$8be2  Poly=$8811  init=$a987  xorout=$0000  refin=true  refout=true
CRC=$8be2  Poly=$8811  init=$b597  xorout=$0000  refin=true  refout=false
CRC=$8be2  Poly=$8811  init=$c0c5  xorout=$0000  refin=false refout=true
CRC=$8be2  Poly=$8811  init=$dcd5  xorout=$0000  refin=false refout=false
CRC=$8be2  Poly=$8811  init=$e274  xorout=$ffff refin=false refout=false
CRC=$8be2  Poly=$8811  init=$fe64  xorout=$ffff refin=false refout=true
===== done =====
Also nichts Überzeugendes. Wenn Du allerdings weitere Informationen, zB weitere Daten/CRC-Sätze oder Init/Xorout-Werte lieferst, kann ich Dir weiterhelfen.
  Mit Zitat antworten Zitat