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

RTR bit support confusion #52

Open
andrew103 opened this issue Mar 5, 2021 · 0 comments
Open

RTR bit support confusion #52

andrew103 opened this issue Mar 5, 2021 · 0 comments

Comments

@andrew103
Copy link

I just wanted to get some clarification on the support for RTR bits in this library since in this open issue there's mention that the library doesn't support RTR bits and setting the existing flag does nothing. However, at the same time there is this merged pull request that seemingly added support for reading and writing RTR bits.

From my own use/testing with this library, it feels like the implementation/interpretation of the RTR bit exists but isn't quite right since the receiving CAN_FRAME object stores an RTR bit and increments the value with each frame received until it reaches 0x1F where it overflows back to 0.

Any insight/clarification on this issue would be greatly appreciated. Below is a snippet of my output from printing the received frames:

image

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

No branches or pull requests

1 participant