-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
"pending" responses are silently ignored.
I have a branch which adds a callback triggered whenever they're received:
https://github.com/mamert/python-uds/tree/callback_for_0x78_pending
e.g. :
def samplePendingCallback(msg):
print(f"0x78 Pending received while waiting for response to {msg}")
uds_bus = Uds(reqId=req_id, resId=res_id, defaultPendingCallback=samplePendingCallback) # for every call
# OR
response = uds_bus.send([0x22, 0xF1, 0x86], pendingCallback=samplePendingCallback) # just this one
I wanted to ask if this is worth creating a PR for (since It's a niche thing),
and if so, where to put an example
aaknitt
Metadata
Metadata
Assignees
Labels
No labels