Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过 C 以编程方式设置 CAN 设备。
我可以通过终端使用 IP Link 执行此操作:
ip link set can0 up type can bitrate 500000
我如何使用 C 来实现这一点
我查看了 GitHub 上的 iplink 代码,但似乎无法解决。
您能否向我发送正确的方向,甚至提供一个示例?我对C语言很不熟练