python-udsoncan icon indicating copy to clipboard operation
python-udsoncan copied to clipboard

When NRC78 is used, the server shall always send a final response

Open amsyrena opened this issue 1 year ago • 3 comments

image image

maybe should return real response when “spr_used” and meet “NRC78” ?

amsyrena avatar Dec 05 '24 08:12 amsyrena

I see. That will be hard to implement. There are fundamental design choice that prevents handling this. Essentialy the synchronous design of the client. I can't reliably know if I should wait or not, unless I wait.

Would need a more complex client that has a background thread keeping track of each requests and returning Futures to the user instead of a response.

That is not in my plan sort term, nor mid term. My time is dedicated to another project right now

pylessard avatar Dec 05 '24 13:12 pylessard

https://github.com/pylessard/python-udsoncan/pull/254 please check, thanks

amsyrena avatar Dec 10 '24 07:12 amsyrena

We really need this change,thank you so much!

amsyrena avatar Dec 10 '24 12:12 amsyrena