This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC1350: CRC decryption C/c++/java code implementation for validating if the packet is valid and not corrupted

Part Number: CC1350


Tool/software: Code Composer Studio

Hi guys !

I have succeeded to received the transmitted packet as this Preamble|SyncWord|DataPacket|CRC , actually I'm receiving the transmitted packet in array called rxBuffer[] that it has the whole transmitted packet starting from preamble till CRC.

Im trying to do code in C/C++/JAVA that check the received CRC and validate if my packet is corrupted or not !

to make it easy for understanding my questions lets assume I have array called rxBuffer[]=[010101010101011111111111000000CRC] - in this case my rxBuffer just has one packet for simplification,

what function should I implement in order to validate if my packet is corrupted or not?! thanks for any assistance.

please elaborate as much as possible your answer with actual examples to explain what your suggest function does in order to understand it and not being fool.