Lg.WriteMIMCRC

This command is deprecated. Do not use it in new code as we may remove it in the future!

This command is similar to the Lg.WriteMIM command, except that a CRC checksum is calculated over the data to write and compared to the CRC checksum given in the CRCAdr parameter. If these checksums differ, the Lg.ErrCrc status code will be returned. Depending on the value of the CRCCalc flag given as a parameter in the Lg.Select command, either 8-bit or 16-bit checksums will be used.

Properties

Parameters (request frame)

Name Type/Size Description
Adr Integer (16 bits) Adress of block to write.
DataLen Integer (8 bits) Number of Bytes in data buffer.
CRCAdr Integer (16 bits) Address of CRC checksum for verification of data to write.
Data Raw data (until end of frame) Data to write to card.

Returned values (response frame)

None