Skip to content

Add Timestamp for CAN Frames #1

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

callendorph
Copy link

@callendorph callendorph commented Mar 11, 2022

Thanks for putting together this library. It has been super useful.

According the kernel's SocketCAN docs, the ioctl command SIOCGSTAMP can get the timestamp of the last frame read through the socket. This PR adds the ability to read this timestamp to the RAW interface.

I've tried to keep the ABI the same but if you would like any changes, let me know.

Could you please also respond to this thread to indicate whether you are accepting PRs or not?

Carl Allendorph added 3 commits March 10, 2022 16:16
This adds a new ioctl for accessing the timestamp of the
last frame read from the socket.
This adds a new method for accessing the timestamp
of the last frame.
@callendorph
Copy link
Author

Seems like you are either not monitoring this or not interested. I'm going to close.

@atuleu
Copy link
Owner

atuleu commented Mar 30, 2022

I am under other deadline that keeps me away from hardware related stuff. I will look for your contribution latter as it is indeed quite some changes.

@atuleu atuleu reopened this Mar 30, 2022
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