pyvit icon indicating copy to clipboard operation
pyvit copied to clipboard

log_frame() only can handle frames with 8 data bytes

Open DfePeterWinkler opened this issue 6 years ago • 0 comments

in log.py::log_frame()[l.35] is assumed that the frame contains 8 data bytes. IMHO CAN messages might be lower than 8 data bytes esp. 0 data bytes. So I would expect lines something like: line = ("(%f) %s %03X#" % (ts, self.if_name, frame.arb_id)) line += "".join(["%02X" % x for x in frame.data]) line += "\n"

DfePeterWinkler avatar Mar 26 '19 13:03 DfePeterWinkler