I-CAN-hack / automotive

Rust crate providing a variety of automotive related libraries, such as communicating with CAN interfaces and diagnostic APIs
MIT License
34 stars 7 forks source link

[ISO-TP] Replace recv by stream #36

Closed pd0wm closed 3 months ago

pd0wm commented 3 months ago

recv() doesn't really work without spawning it on a background thread. The stream is created too late, so it might miss any messages sent before awaiting it.

No impact on the UDS client, as it was already using stream.