-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Title
Unclear handling of CAN message size in virtual CAN networks
Description
While integrating virtual CAN networks using SIL Kit, it is unclear how CAN message size constraints are handled by the framework. The current API documentation does not clearly specify whether message size validation, truncation, or error handling is performed internally, or whether this responsibility is delegated entirely to the user.
This ambiguity makes it difficult to design robust applications that rely on virtual CAN communication and to ensure consistency with real CAN/CAN FD behavior.
Questions / Points needing clarification
- What is the maximum supported payload size for CAN and CAN FD messages in virtual CAN networks?
- Does SIL Kit validate message size against CAN/CAN FD limits when transmitting?
- If an oversized message is sent: - Is it rejected with an error? - Silently truncated? - Passed through unchanged?
- Where in the API or documentation is this behavior formally defined?
Expected outcome
- Clear documentation describing how message size is handled for virtual CAN networks.
- Explicit guarantees about validation, error handling, and consistency with CAN/CAN FD specifications.
- (Optional) Example code or API references demonstrating correct usage of large messages.
Environment
SIL Kit version: 5.0.3
OS: Windows 64bit
Language bindings: C API and C++ API used in python with pybind11 (https://github.com/JannisRln/SilKit_py)