Skip to content

Feature/refactoring j2534 - #303

Open
kirya-dev wants to merge 5 commits into
pylessard:masterfrom
kirya-dev:feature/refactoring-j2534
Open

Feature/refactoring j2534#303
kirya-dev wants to merge 5 commits into
pylessard:masterfrom
kirya-dev:feature/refactoring-j2534

Conversation

@kirya-dev

Copy link
Copy Markdown
Contributor
  • Open J2534 always in CAN_ID_BOTH;
  • Fixed timeout handling in J2534Connection. Previously, the USB connection timeout was taken. Now it's not - only the server's response. Useful for remote connections;
  • Standardize TimeoutException message;
  • Add new method of J2534Connection.set_can_id().

After update should call:

with J2534Connection(dll) as conn:
    conn.set_can_id(0x18DAC0F1, 0x18DAF1C0)
    # do here UDS dutes for example..

    conn.set_can_id(0x750, 0x758, 0x6D)
    # do here KWP dutes for example..

So one connection establish in example above. Time profit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant