I'm implementing a simple comms protocol where each packet must be 16 bytes in length.
The 1st byte indicates the packet type which determines the meaning of the following 15 bytes.
I only need 4-bits in the 1st byte to indicate packet type, which leaves 4 spare bits. I'd quite like to use these for some sort of checksum to detect bit errors in the rest of the packet.
What would you guys recommend as the best 4-bit checksum algorithm/CRC polynomial to use (where best = maximum number of bit errors detected)?