sockcan

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Overview

@@ @ Author : Eacher @ Date : 2023-09-06 14:55:23 @ LastEditTime : 2024-01-02 09:17:49 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /20yyq/can-debugger/sockcan/sockcan_linux.go @@

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Can

type Can struct {
	// contains filtered or unexported fields
}

func NewCan

func NewCan(dev string) (*Can, error)

func (*Can) Disconnect

func (c *Can) Disconnect() error

func (*Can) ReadFrame

func (c *Can) ReadFrame() (f can.Frame, err error)

func (*Can) WriteFrame

func (c *Can) WriteFrame(frame can.Frame) error

type HandlerFunc

type HandlerFunc func(can.Frame)

Jump to

Keyboard shortcuts

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