-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Updated readme #291
Updated readme #291
Conversation
Update, provide more details
Be more precise, add more detailed information about udsoncan.
@pylessard I would appreciate if you could review these changes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #291 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 42 42
Lines 2743 2743
Branches 344 344
=========================================
Hits 2743 2743
|
Hey, I put some comments. Modularity is always a bit more complex and harder to optimize. That could be the differentiator you put ahead : a turn-key solution that covers everything from application to hardware layer. |
Also, if you want to do something better than my repo, I suggest designing right from the start the possibility to have async calls with the client. My repo uses a stateful communication that can only accomodate a request/response approach. It's simple, but it has limitations. The nicer way would be to have a service thread that manages the communication. When a user "sends" a request, he is given a future object that can be awaited now or later. Having a background task would also allow to register callbacks on certain broadcast messages, like ResponseOnEvent |
Yeah, exactly that is the plan to have an option to do stuff asynchronously. I have not prepared Client/Server/Sniffer classes yet to handle these top layers (in Model OSI, it would be layer 5 - Session). |
Update after pylessard remarks
@pylessard I would appreciate if you referred to knowledge base (it is documentation with explanation of how UDS works) in your project(s) and took part in reviewing whenever a new part is released. No pressure of course ;) Link: https://uds.readthedocs.io/en/stable/pages/knowledge_base.html |
Thanks, One last thing, just like this conversation, the knowledge base mixes UDS and ISOTP like they were the same thing. There is no such thing as a UDS packet. Segmentation is defined by ISOTP (iso-15765), not UDS. That is very misleading. There are UDS messages that can be sent over an ISOTP frame. ISOTP frames are segmented in many PDU. A PDU is expected to be a CAN message. I see you are putting lot of effort to explain the protocol. That's good, but make sure to refer to the standard and be exact |
Yeah, that is true. Sometimes I was trying to hard to find a meaningful name. With PDU (or actually N_PDU, cause each OSI model layer has its own PDUs) it was not that easy ;) |
Description
How Has This Been Tested?
Process
I know the process and did my best to follow it