Skip to content

Conversation

@victors21
Copy link

This code is adding support for transmiting can and canfd frames in a single tag's frame and send , so app like SavvyCan V220 is work fine with that rx and tx data for booth can and canfd as is.

Copy link
Member

@marckleinebudde marckleinebudde left a comment

Choose a reason for hiding this comment

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

Your patch add some trailing white space, can you please remove them.

Comment on lines +100 to +104
if (setsockopt(raw_socket, SOL_CAN_RAW, CAN_RAW_FD_FRAMES, &enable, sizeof(enable)) < 0) {
PRINT_ERROR("Could not enable CAN FD\n");
state = STATE_SHUTDOWN;
return;
}
Copy link
Member

Choose a reason for hiding this comment

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

This will fail on CAN CC only devices, right? I think we want an option to enable CAN-FD.

Copy link
Author

Choose a reason for hiding this comment

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

I think you are right. So what kind of option need to added ?

Copy link
Member

Choose a reason for hiding this comment

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

Add something to

static struct option long_options[] = {

@victors21 victors21 closed this Jun 5, 2025
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