Skip to content

Extented slcan.py to use "L" command optional to "O" command. #1496

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

Merged
merged 2 commits into from
Jun 16, 2024

Conversation

wolfraven
Copy link
Contributor

Added additional parameter "listen_only" to open interface/channel with "L" command (in opposite to "O" command).

Copy link
Collaborator

@felixdivo felixdivo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change, but I'd suggest using BusState to be more consitent. See this example on how to parse it:

if state is BusState.ACTIVE or state is BusState.PASSIVE:
self.state = state
else:
raise ValueError("BusState must be Active or Passive")

@j-c-cook
Copy link
Contributor

ping @wolfraven -- unaddressed requested changes.

wolfraven and others added 2 commits June 16, 2024 12:19
Added additional parameter "listen_only" to open interface/channel with "L" command (in opposite to "O" command).
@zariiii9003 zariiii9003 merged commit 046af70 into hardbyte:main Jun 16, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants