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

test xcp: revive xcp test script with CAN support #401

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

fkglr
Copy link
Contributor

@fkglr fkglr commented Jun 5, 2023

Currently the XCP primitive test tool is not exposed in gallia and only exists as an unreferenced file.
Furthermore it is lacking CAN support, as it makes use of the read() function, which is unsupported by the can-raw transport, which is however required for XCP on CAN communication.

Therefore, this Pull request tries to fix both issues, by exposing the scanner on the CLI and by adding a CAN specific subclass of the XCPService class. Its master and slave parameters are retrieved by the two new CLI parameters --can-master and --can-slave

@fkglr fkglr requested review from rumpelsepp and peckto as code owners June 5, 2023 16:20
@fkglr fkglr force-pushed the test-xcp branch 8 times, most recently from 2a6364e to a6b0dcd Compare June 6, 2023 10:58
@rumpelsepp rumpelsepp merged commit 558c254 into master Jun 6, 2023
@rumpelsepp rumpelsepp deleted the test-xcp branch June 6, 2023 11:17
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