2024-02-14 08:15:21 +00:00
|
|
|
//go:build ignore
|
|
|
|
// +build ignore
|
2023-05-09 05:54:20 +00:00
|
|
|
|
2024-02-14 08:15:21 +00:00
|
|
|
package main
|
2023-05-07 05:00:46 +00:00
|
|
|
|
|
|
|
// TODO: implement netlink support to set baud rate and other parameters.
|
2024-02-14 08:15:21 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mdlayher/netlink"
|
|
|
|
"golang.org/x/sys/unix"
|
|
|
|
)
|
|
|
|
|
|
|
|
// this program demonstrates basic CAN stuff.
|
|
|
|
// i give up this shit is so hard
|
|
|
|
|
|
|
|
|