-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Documentation is incomplete regarding how DTC are reported #31
Comments
Agree that the documentation is incomplete regarding how the DTC are reported. Example
For now, your best source of information will be the unit tests themselves. Each subfunction has a TestSuite associated. python-udsoncan/test/client/test_read_dtc_information.py Lines 126 to 139 in 7c37ed8
I will try to update the documentation on the short term to make this clearer. |
Sorry for trouble you again! could you please give us an example to find it? we have no any method now. thanks! ` |
could you please add "how to read the DTC sanpshot" also? thanks! |
Hi, I will leave this issue opened. Documentation needs to be updated. Thanks for pointing the issue |
Can you please tell me which hardware could I use in order to use this library ? |
Hi @jwdsoft , I think your question deserve a new issue. I've created #44 to help answers. Heavy trucks mostly uses J1939. Hopefully, #44 will gather some useful informations to answer this. |
hi pylessard, i try to read the DID by using ReadDataByIdentifier, but i get the error: "ConfigError – If didlist parameter or response contains a DID not defined in didconfig"; Example of DidConfig i think the DidConfig shall be added in "udsoncan/init.py/class DidCodec", but i still don't know how to add them; |
Hi, The didconfig must be given to the client. You should start by looking at the documentation before looking at the code. Regards |
Is this maybe because you did not define 'status_mask'? |
i used the following code to read the DTC:
with Client(conn, request_timeout=10) as client:
DTC_list = client.get_dtc_by_status_mask(status_mask)
print("DTC list:", DTC_list)
but i didn't get the DTC code, i got :
DTC list :<PositiveResponse:[ReadDTCInformation]-61 data bytes at 0x0322ff0>;
could you please tell me how can i get the DTC code?
The text was updated successfully, but these errors were encountered: