-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
IsoTPSocketConnection doesn't work with can-isotp versions 2 and up #199
Comments
udsoncan supports isotp v2 since 1.21 (released yesterday). Can you give it a try? |
Exception we get:
The problem is on line 329 in connections.py: https://github.com/pylessard/python-udsoncan/blob/1622f251bfd8cbe7fcf7572dc737f6a125481257/udsoncan/connections.py#L329C1-L329C124 |
Yes, that is one of the breaking change I did with isotp v2. instead of |
Yes, that needs to be done in udsoncan/connections.py:329 :) |
You are absolutely right. I missed that. Will publish 1.21.2 tonight. |
I'm a bit busy, pushing that few days forward. |
Give this a try please : https://github.com/pylessard/python-udsoncan/tree/fix-broken-isotp-socket-connection Need to pass the isotp.Address object to the connection |
I did not wait on your test and went ahead. |
can-isotp
version 2.0 introduced a backwards incompatible change intpsock.socket.open
method (commit 1fff9e7ab5bd8404798200804ef0d482ac1dc536). Thus, IsoTPSocketConnection.open doesn't work (it's still using the old interface). There is no requirement in documentation thatcan-isotp
module must be installed in any specific versions, so I guess it's a bug?The text was updated successfully, but these errors were encountered: