crc check, generalization of sensor functions