Skip to content

Add method to set bitrate #75

@dawn-minion

Description

@dawn-minion

Would it be possible to add a method to set the bitrate/baudrate? Module works great for me, but I need to switch the bitrate at runtime based upon input from one of the CAN devices on our network.

Right now I just have to shell out to the ip command which works, but it'd be really nice if there was something similar to libsocketcan's set_can_bitrate method to set bitrate for a specific interface: https://lalten.github.io/libsocketcan/Documentation/html/group__extern.html#gaf69a4a0d7424e5a61d60991295f50559

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions