Found some minor issues as I tried to get a few of the UDS examples working on my hardware.
Extra spaces in isotp_params keys caused run-time errors
Missing import struct in what appears to be a complete example
Inconsistent use since the docs say these are lists so I changed it (but I see that validate_didlist_input takes care of this).
response = client.read_data_by_identifier([0xF190])
print(response.service_data.values[0xF190]) # This is a dict of DID:Value
# Or, if a single DID is expected, a shortcut to read the value of the first DID
vin = client.read_data_by_identifier_first([0xF190])
Found some minor issues as I tried to get a few of the UDS examples working on my hardware.
isotp_params
keys caused run-time errorsimport struct
in what appears to be a complete exampleInconsistent use since the docs say these are lists so I changed it (but I see that
validate_didlist_input
takes care of this).Hope you find these useful.
Rick