equal
deleted
inserted
replaced
|
1 "{ Encoding: utf8 }" |
|
2 |
1 " |
3 " |
2 COPYRIGHT (c) 2019 by eXept Software AG |
4 COPYRIGHT (c) 2019 by eXept Software AG |
3 All Rights Reserved |
5 All Rights Reserved |
4 |
6 |
5 This software is furnished under a license and may be used |
7 This software is furnished under a license and may be used |
141 ! |
143 ! |
142 |
144 |
143 newSAE_J1850 |
145 newSAE_J1850 |
144 "return an instance of the SAE_J1850 CRC8 (used in AUTOSAR)" |
146 "return an instance of the SAE_J1850 CRC8 (used in AUTOSAR)" |
145 |
147 |
|
148 self error:'currently broken'. |
146 ^ self generatorPolynomMSB:16r1D initValue:16rFF xorOut:16rFF |
149 ^ self generatorPolynomMSB:16r1D initValue:16rFF xorOut:16rFF |
147 |
150 |
148 "Created: / 24-03-2019 / 11:34:16 / Claus Gittinger" |
151 "Created: / 24-03-2019 / 11:34:16 / Claus Gittinger" |
|
152 "Modified: / 25-03-2019 / 14:27:48 / Claus Gittinger" |
|
153 ! |
|
154 |
|
155 new_2F |
|
156 "return an instance of the CRC8-2F (used in AUTOSAR). |
|
157 Currently broken." |
|
158 |
|
159 self error:'currently broken'. |
|
160 ^ self generatorPolynom:16r2F initValue:16rFF xorOut:16rFF |
|
161 |
|
162 "Created: / 25-03-2019 / 14:25:16 / Claus Gittinger" |
149 ! ! |
163 ! ! |
150 |
164 |
151 !CRC8Stream class methodsFor:'queries'! |
165 !CRC8Stream class methodsFor:'queries'! |
152 |
166 |
153 hashSize |
167 hashSize |