COVESA / dlt-daemon

Diagnostic Log and Trace.
https://covesa.github.io/dlt-daemon/
Mozilla Public License 2.0
373 stars 292 forks source link

why Limit DLT_ID_SIZE ? #366

Closed m1018 closed 2 years ago

m1018 commented 2 years ago

我在代码中看见对于ECU和APPID 使用固定大小限制:# define DLT_ID_SIZE 4 Is this a consideration?

ssugiura commented 2 years ago

@m1018 This is a requirement from AUTOSAR to limit the size to 4 bytes: https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_SWS_DiagnosticLogAndTrace.pdf The latest protocol already extended the field to set longer IDs, but currently there's no plan to migrate.

thanhbnq commented 2 years ago

Thanks @ssugiura for clarification. @m1018 I would like to close this issue. If you have anything else to discuss further, please share with us.

Thanh