Skip to content
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

Support multiple buses in fcp #85

Closed
joajfreitas opened this issue Oct 12, 2024 · 0 comments · Fixed by #89
Closed

Support multiple buses in fcp #85

joajfreitas opened this issue Oct 12, 2024 · 0 comments · Fixed by #89

Comments

@joajfreitas
Copy link
Owner

joajfreitas commented Oct 12, 2024

A single fcp schema should be able to describe multiple physical buses.

Syntax proposal for can impls:

Option 1

impl can for Foo {
    id: 10,
    buses: ["bus1", "bus2"],
}

Option 2

impl can for Foo {
    id: 10,
    bus: "bus1"
}

impl can for Foo {
    id: 10,
    bus: "bus2",
}

Open questions

  1. How do we handle different IDs for the same message in different buses?

TODO

  1. Add support for multiple buses in fcp_dbc
  2. Add check in fcp_dbc for conflicts between ids in the same bus.
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 a pull request may close this issue.

1 participant