Hi guys, I already posted the subject of this thread but I can't comment there because it's signed as resolved and it's not resolved, so please Im struggling a problem and I need help for that problem, hope to get fully assistance in my case.
I'm trying to do a code in c/c++/java or whatever language (doesn't matter for me) that what it does is validate the received packet if it's corrupted or not corrupted ! , to elaborate more:
Im sending packet with data that Im configure in smartRf studio software program, the transmitted packet is having in general Preamble|Syncword|Datapacket and if it's on the air then the transmitter after transmitting it adds crc, so the received packet that Im getting is in this pattern: Preamble|Syncword|Datapacket|CRC
Im getting the packet and saving it to a buffer called rxBuffer[] that the received packet Im getting it in binary like this [01010101010101010101011000100101010101010111111111110000000000111111100000001100001]
so my input to the function is rxBuffer, could anyone help me what function can I implement the validation function in order to validate if my received packet by checking its CRC valid or not valid? thanks alot !