socketcan

package
v0.0.0-...-702ee01 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCanFrame

func NewCanFrame(id uint32, ty FrameType, data []byte) ([]byte, error)

NewCanFrame creates a frame ready to be sent to the socketcan module

Types

type FrameType

type FrameType uint
const (
	SFF FrameType = iota // SFF frame format
	EFF                  // EFF extended frame format
	RTR                  // RTR frame format
	ERR                  // ERR frame format
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL