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.
- Parameters
-
[in] | protocol | used to execute the command |
[in] | Adr | Address of data to read. |
[in] | Len | Number of Bytes to read (0x01 - 0x20). |
[in] | CRCAdr | Address of CRC checksum for verification of read data. |
[out] | DataAdr | Address of read data. |
[out] | Data | Read data. |
[out] | Data_len | |
[in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |
- Deprecated:
- This command may be removed in future!