Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 634 Bytes

File metadata and controls

18 lines (15 loc) · 634 Bytes

socketcan [WIP]

socketcan provides an interface to a CAN bus to read and write frames. The library is based on the SocketCAN network stack on Linux.

Features

  • supports kernel timestamps for received frames
  • receive and parse error frames
  • CAN filters
  • interfaces:
    • simple io.ReadWriteCloser interface (via os.File)
    • more sophisticated Send and Receive methods to handle out-of-band ( oob) data like timestamps
  • no dependencies beside golang.org/x/sys/unix