Lg.ReadMIMCRC

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.ReadMIM command, except that a CRC checksum is calculated over the read Bytes 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) Address of data to read.
Len Integer (8 bits) Number of Bytes to read (0x01 - 0x20).
CRCAdr Integer (16 bits) Address of CRC checksum for verification of read data.

Returned values (response frame)

Name Type/Size Description
DataAdr Integer (16 bits) Address of read data.
Length of Data Integer (8 bits) Length of Data in bytes
Data Raw data Read data.