-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Sending canfd, receiving non-canfd (if payload <= 8) #52
Comments
Would you be able to provide a regression test reproducing this as a pull request? I should be able to have a look at this by next week |
It's no regression test, just the code to reproduce this manually. See README in canfd-test directory. |
I cannot confirm that candump detects JavaCAN's FD frames as such. In the
To me it seems that the FD flag is not being set properly.
|
Please test the latest snapshot (https://oss.sonatype.org/content/repositories/snapshots/tel/schich/javacan-core/3.3.1-SNAPSHOT/javacan-core-3.3.1-20231216.013458-4.jar) |
Thanks, works now, verified with candump.
|
great, I'll publish a release later today or tomorrow |
https://github.com/pschichtel/JavaCAN/releases/tag/javacan-3.3.1 The jars might still need some time to propagate to maven central. |
3.3.1 still not available at maven-central, maybe something went wrong? |
Weird, I'll check that. I haven't upgraded my own project to. 3.3.1 yet, I'll check this and get back to you here |
Apparently something get's messed up in maven's release plugin since my recent plugin updates.... more reasons to go for #45 ... 3.3.2 should eventually land in central. I'll check back later to see if it worked out. |
the directory index in central is a little messed up, but the jar is available now |
Thanks, 3.3.2 is available and works as expected. ...and thanks for "re-adding" the arch-auto-detect feature - if you use Java to access the CAN, you really don't care about program size ;) |
the removal was never about program size, I removed it because it was (and still is) unfixably broken for some architectures. The new solution is a best effort, but it's now just one option instead of the only way. |
I'm sending canfd frames with payload-size <=8 with JavaCan. If I receive these frames with JavaCan in a different process the frames are recognized as canfd.
But CANoe marks these frames as non-FD frames (any probably the linux-can-tools too - see below).
If I use the linux-can-tools to send the canfd frame, then CANoe marks them as FD.
Frames sent by JavaCan with a payload size > 8 are correctly received as FD by JavaCan, candump and CANoe.
What I did:
So I'm not quite sure where the problem is: something in JavaCan or in my mind? Any ideas?
Used version: 3.3.0/aarch64
The text was updated successfully, but these errors were encountered: