pyUSBtin
pyUSBtin copied to clipboard
canmesage.py: Bugs in decoding msg payload in from_string method.
- Index shift takes into account only message id and not the dlc.
- Payload byte should be referenced like this: msg[index: index + 2] and not msg[index: index + 1].