C API for BALTECH SDK

§ brp_Lg_WriteMIMCRC()

brp_errcode brp_Lg_WriteMIMCRC ( brp_protocol  protocol,
unsigned  Adr,
unsigned  DataLen,
unsigned  CRCAdr,
brp_buf  Data,
size_t  Data_len 
)

This command is similar to the brp_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 BRP_Lg_ErrCrc status code will be returned. Depending on the value of the CRCCalc flag given as a parameter in the brp_Lg_Select() command, either 8-bit or 16-bit checksums will be used.

Parameters
[in]protocolused to execute the command
[in]AdrAdress of block to write.
[in]DataLenNumber of Bytes in data buffer.
[in]CRCAdrAddress of CRC checksum for verification of data to write.
[in]DataData to write to card.
[in]Data_len
Deprecated:
This command may be removed in future!