Host:
I create a checksum and send it with the message to the card:
Code: Select all
Checksum checksum = new CRC32();
checksum.update(rawData, 0, rawData.length);
long checksum_value = checksum.getValue();
Card:
I also create a checksum.
Code: Select all
Checksum checksum = Checksum.getInstance(Checksum.ALG_ISO3309_CRC32, false);
checksum.doFinal(data, (short)0, (short)data.length, checksum_value, (short)0);
The result is different from what the host creates.
Does anyone know how to fix this problem?