Snapdragon® Telematics Application Framework (TelAF) Interface Specification
|
This module provides APIs for computing CRC of a binary buffer.
CRC (Cyclic Redundancy Check) are used to verify the integrity of data, like file, messages, etc...
le_crc_Crc32()
- Compute the CRC32 of a memory bufferThe CRC32 is computed by the function le_crc_Crc32. It takes a base buffer address, a length and a CRC32. When the CRC32 is expected to be first computed, the value LE_CRC_START_CRC32 needs to be set as crc32 value.
This code compute the whole CRC32 of amount of data splitted into an array of small blocks:
Copyright (C) Sierra Wireless Inc.