Home | History | Annotate | Download | only in contrib

Lines Matching refs:CRC

302         CRC and control/status byte.
312 # Try to find at least 3 high entropy successive bytes (the CRC)
337 # Limit for a CRC is set to 6 bit of entropy min
343 if succ_count >= 3: # Possible profisafe CRC
347 {"CRC": succ_count, "length": conf["length"]}
463 It's a configurable packet whose config includes a fix length, and a CRC
464 length. The config parameter must then be a dict {"length": X, "CRC": Y}.
470 XVarBytesField("CRC", 0, length_from=lambda p: p[Profisafe].crc_length())
478 """Return the length of the crc"""
479 return self._config["CRC"]