Registry / networking / brutella-can

brutella-can

JSON →
library0.0.2gogounverified

Package can provides an implementation of a CAN bus to send and receive CAN frames.

go get github.com/brutella/can
INSTALL
IMPORT
SIG · BRUTELLA-CAN
B
brutella-can
networkinggov0.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

can
github.com/brutella/can

Open a CAN bus and send a frame.

package main import ( "fmt" "github.com/brutella/can" ) func main() { bus, _ := can.NewBus("can0") frame := can.Frame{ID: 0x123, Data: []byte{0x01, 0x02}} bus.Send(frame) fmt.Println("Frame sent") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
Amazon
1
OpenAI (training)
1
Resources
brutella-can — go get brutella-can · libregistry