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.
