python-can
python-can copied to clipboard
FIX: Some hardware ID are not compatible with ascii, in that case fal…
…lback to guid
Summary of Changes
This change correct detection of hardware id for legacy product and VCI 3.5 (i.e {xxxxxx-xxxx-xxxx-xxxxxxxxxxxx}). decode("ascii") is not able to produce a result and trig an exception. For this particular situation we use AsGuid and compute string {xxxxxx-xxxx-xxxx-xxxxxxxxxxxx} the same that is reported by iXXat cananalizer. Also update config hwid detection.
Related Issues / Pull Requests
Not linked to Issue yet
- Closes #
- Related to #
Type of Change
- [x ] Bug fix
- [ ] New feature
- [ ] Documentation update
- [ ] Refactoring
- [ ] Other (please describe):
Checklist
- [x ] I have followed the contribution guide.
- [ ] I have added or updated tests as appropriate.
- [ ] I have added or updated documentation as appropriate.
- [ ] I have added a news fragment for towncrier.
- [ ] All checks and tests pass (
tox).
Additional Notes
Please add a short news fragment, so i can merge