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

Add Driver trait and optional socketcan driver #5

Merged
merged 5 commits into from
Aug 10, 2023
Merged

Conversation

Notgnoshi
Copy link
Member

@Notgnoshi Notgnoshi commented Aug 7, 2023

➕ Additions

  • Add abstract Driver trait for non-blocking read/write operations
  • Implement a socketcan Driver
  • Add a helper CLI application to test the socketcan driver

image

@github-actions
Copy link

github-actions bot commented Aug 7, 2023

File Coverage Lines Branches
All files 32% 32% 0%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against 1c6615a

Base automatically changed from ag/pipelines to main August 7, 2023 22:34
@Notgnoshi Notgnoshi added the enhancement New feature or request label Aug 8, 2023
@Notgnoshi Notgnoshi force-pushed the ag/driver branch 2 times, most recently from c005efa to 45e7e2c Compare August 8, 2023 02:50
Cargo.toml Outdated Show resolved Hide resolved
@Notgnoshi Notgnoshi force-pushed the ag/driver branch 2 times, most recently from 6743ba1 to 63cd366 Compare August 8, 2023 15:59
@Notgnoshi Notgnoshi self-assigned this Aug 8, 2023
@Notgnoshi Notgnoshi changed the title VERY DRAFT - driver layer Add Driver trait and optional socketcan driver Aug 8, 2023
@Notgnoshi Notgnoshi force-pushed the ag/driver branch 2 times, most recently from 62fed95 to 6c2a036 Compare August 8, 2023 22:00
src/driver/socketcan.rs Outdated Show resolved Hide resolved
src/driver/socketcan.rs Outdated Show resolved Hide resolved
src/driver/socketcan.rs Outdated Show resolved Hide resolved
src/driver/socketcan.rs Outdated Show resolved Hide resolved
src/driver/socketcan.rs Show resolved Hide resolved
Cargo.toml Show resolved Hide resolved
@Notgnoshi Notgnoshi marked this pull request as ready for review August 8, 2023 22:20
@Notgnoshi Notgnoshi requested a review from ad3154 August 8, 2023 22:20
src/lib.rs Show resolved Hide resolved
Copy link
Member

@GwnDaan GwnDaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍🏽

Offtopic: we will probably be making more progress if we just merge PR's in at this early stage as doing it right the first time is pretty much impossible, so let's not be too picky on each other and improve everything along the way with followup PR's :)

@Notgnoshi Notgnoshi merged commit 9e9453d into main Aug 10, 2023
8 checks passed
@Notgnoshi Notgnoshi deleted the ag/driver branch August 10, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants