Skip to content

Conversation

@minminlittleshrimp
Copy link
Collaborator

What has been done from Bosch:

  1. We have enabled Werror flags, done upstreaming some critical bugs fix, enhancement, re-designed related commits
  2. We have performed a release v2.18.11, marked it as a last milestone for our DLT contributors in this minor version [1]
  3. Starting splitting plan in review:
    • Split changes into several topics: Core, Protocols, Utils, Doc, etc
    • Commits shall base on the splitting plan (we shall have 5-8 commits only) then squash into 1 final commit (if it makes sense)

To keep the review easier for both sides, during Bosch review phases we have not been requesting any rework from Volvo.
Bosch shall now apply our rework, since this topic is huge and for first 2 rounds reviewing we have to perform every LoC (Line of Code) in detail review/understanding due to quality standard (For example, mis-using dlt_daemon_v2 -> v2 for protocol not for daemon). Last, PR shall be updated by a rework version from Bosch, it is now set back to DRAFT. Bosch shall make sure commits being signed off by any contributors from Volvo and Bosch.
Next actions from Bosch:

  1. Rework and push to PR [DONE]
  2. Make sure MVP satisfied [ONGOING]
  3. Make sure regression test and Utest passed/normal functioned [ONGOING]

PR shall be merged when all below features from dlt protocol v2 satisfied [2]:

  1. Tags for message filtering and Privacy Flags
  2. Timestamp improvement with 9 bytes avoiding Epochalypse
  3. Long IDs support for ECU, App, Context
  4. Support source file name and line number info (!?)

A detail technical document is constructed for
the DLT Protocol v2 support in the upcoming
Major Release Version dlt-daemon v3.0.1

Signed-off-by: Erik Bergh <[email protected]>
Signed-off-by: Suyash Chandra (Consultant) <[email protected]>
Signed-off-by: JayaprasadTJ <[email protected]>
Signed-off-by: LUU QUANG MINH <[email protected]>
- Provide example packages to fit with dlt protocol v2
- Provide utilities (dlt-control-v2, dlt-receive-v2)
  so that messages in dlt protocol v2 can be captured
  and proceeded

Signed-off-by: Erik Bergh <[email protected]>
Signed-off-by: Suyash Chandra (Consultant) <[email protected]>
Signed-off-by: JayaprasadTJ <[email protected]>
Signed-off-by: LUU QUANG MINH <[email protected]>
- Declare DLTv2 APIs to fit with dlt protocol v2
- Provide new parameters for ECUid, Appid, Ctxid
  flexible lengths in v2 format

Signed-off-by: Erik Bergh <[email protected]>
Signed-off-by: Suyash Chandra (Consultant) <[email protected]>
Signed-off-by: JayaprasadTJ <[email protected]>
Signed-off-by: LUU QUANG MINH <[email protected]>
- Implement internal/common functions to handle
  DLTv2 format data
- Introduce DLTv2 functions to proceed control
  messages, client messages, injection messages

Signed-off-by: Erik Bergh <[email protected]>
Signed-off-by: Suyash Chandra (Consultant) <[email protected]>
Signed-off-by: JayaprasadTJ <[email protected]>
Signed-off-by: LUU QUANG MINH <[email protected]>
- Implement DLTv2 Gateway APIs to handle DLTv2
  message format

Signed-off-by: Erik Bergh <[email protected]>
Signed-off-by: Suyash Chandra (Consultant) <[email protected]>
Signed-off-by: JayaprasadTJ <[email protected]>
Signed-off-by: LUU QUANG MINH <[email protected]>
- Provide basic DLTv2 message format handling
  in dlt user library
- Enable DLT Applications to use DLT Protocol
  under multiplexing concept (DLTv1 and DLTv2
  applications can connect to the same resources)

Signed-off-by: Erik Bergh <[email protected]>
Signed-off-by: Suyash Chandra (Consultant) <[email protected]>
Signed-off-by: JayaprasadTJ <[email protected]>
Signed-off-by: LUU QUANG MINH <[email protected]>
Provide basic DLTv2 message format handling
in dlt common APIs and shared resources

Signed-off-by: Erik Bergh <[email protected]>
Signed-off-by: Suyash Chandra (Consultant) <[email protected]>
Signed-off-by: JayaprasadTJ <[email protected]>
Signed-off-by: LUU QUANG MINH <[email protected]>
@minminlittleshrimp minminlittleshrimp force-pushed the dlt_devel_protocol_v2_review branch 3 times, most recently from da4b610 to aa5a7f6 Compare December 26, 2025 04:30
- Enable fail fast -Wfatal-error
- Fix abuse casting for data
- Fix wrong function usages
- Fix critical potential use-after-free of msgv2.headerbufferv2
- Rebase and solve merge conflicts

Signed-off-by: LUU QUANG MINH <[email protected]>
@minminlittleshrimp minminlittleshrimp force-pushed the dlt_devel_protocol_v2_review branch from aa5a7f6 to f12094d Compare December 26, 2025 06:29
@minminlittleshrimp minminlittleshrimp self-assigned this Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants