-
Notifications
You must be signed in to change notification settings - Fork 632
Ixxat bus state and hardware errors detection #1141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #1141 +/- ##
===========================================
- Coverage 65.28% 65.20% -0.08%
===========================================
Files 81 81
Lines 8832 8853 +21
===========================================
+ Hits 5766 5773 +7
- Misses 3066 3080 +14 |
#1119 created some conflicts |
@cowo78 I can do a review once they are resolved. |
Better handling of CAN error messages: - In case of HW errors (overrun, warning limit exceeded, bus coupling error) raise VCIError - In case of error log IXXAT-specific error codes
Use log.warning instead of deprecated log.warn.
…erty. Hardware error checking in _recv_internal() handles BUS OFF situation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution.
Is is possible that can/interfaces/ixxat/canlib_vcinpl2.py
would need to be changed too?
…stent with BusABC
…been loaded" This reverts commit ad11bf9.
Am I right in that this only adds |
Correct. As mentioned in #1119 I would suggest to postpone a refactoring / code deduplication do another PR. |
I'd like this to get a single other review before merging. |
@hardbyte? 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've read through this patch while I don't have any issues with it I don't have the hardware to test it.
Implemented IXXATBus.state() property.
Hardware errors are detected in _recv_internal() and raise an exception.