fix in bits/bytes shift, new packet CRC calculation