-
Notifications
You must be signed in to change notification settings - Fork 604
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
Add protocol
property to BusABC to determine active CAN Protocol
#1532
Merged
Merged
Changes from 4 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
b2ec42c
Implement is_fd property for BusABC and PCANBus
lumagi 059f33a
Implement enum to represent CAN protocol
lumagi 07defb0
Implement CANProtocol for VirtualBus
lumagi 26fe9d4
Implement CANProtocol for UDPMulticastBus
lumagi 091572b
Implement CANProtocol for the CANalystIIBus
lumagi 56e40d2
Implement CANProtocol for the slcanBus
lumagi 642e711
Rename CANProtocol to CanProtocol
lumagi c6da1c4
Reimplement PcanBus.fd attribute as read-only property
lumagi da89d35
Reimplement UdpMulticastBus.is_fd attribute as read-only property
lumagi 51301fe
Implement CanProtocol for robotellBus
lumagi 55e349a
Implement CanProtocol for NicanBus
lumagi 76465e4
Implement CanProtocol for IscanBus
lumagi cdbfa13
Implement CanProtocol for CantactBus
lumagi 9ad3dae
Fix sphinx reference to CanProtocol
lumagi 652d5cc
Implement CanProtocol for GsUsbBus
lumagi a20af38
Implement CanProtocol for NiXNETcanBus
lumagi d6fabc6
Implement CanProtocol for EtasBus
lumagi b2d9f30
Implement CanProtocol for IXXATBus
lumagi 9a39e2e
Implement CanProtocol for KvaserBus
lumagi 2aa8ceb
Implement CanProtocol for the SerialBus
lumagi 4365157
Implement CanProtocol for UcanBus
lumagi 08e9446
Implement CanProtocol for VectorBus
lumagi 5ae8e44
Implement CanProtocol for NeousysBus
lumagi 41b1979
Implement CanProtocol for Usb2canBus
lumagi eadfa83
Implement CanProtocol for NeoViBus
lumagi 6b59513
Merge branch 'develop' into feature/bus_fd_field
zariiii9003 6b53ef4
Implement CanProtocol for SocketcanBus
lumagi 5ac9814
Permit passthrough of protocol field for SocketCanDaemonBus
lumagi 6914cba
Implement CanProtocol for SeeedBus
lumagi 03504b4
Merge branch 'develop' into feature/bus_fd_field
lumagi 4fe9aa9
Remove CanProtocol attribute from BusABC constructor
lumagi 7541cd5
Apply suggestions from code review
lumagi 0500799
Fix syntax error
lumagi 3047263
Fix more enum comparisons against BusABC.protocol
lumagi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@zariiii9003 Would you consider this
is_fd
flag as a public attribute that would lead to a breaking API change if it were removed? With theprotocol
field it's technically redundant and could be removed.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 guess we could replace it with a property and raise a DeprecationWarning with a removal scheduled for version 5.