socketcan

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSocketCanBus

func NewSocketCanBus(name string) (canopen.Bus, error)

Types

type SocketcanBus

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

func (*SocketcanBus) Connect

func (socketcan *SocketcanBus) Connect(...any) error

"Connect" implementation of Bus interface

func (*SocketcanBus) Disconnect

func (socketcan *SocketcanBus) Disconnect() error

"Disconnect" implementation of Bus interface

func (*SocketcanBus) Handle

func (socketcan *SocketcanBus) Handle(frame sockcan.Frame)

brutella/can specific "Handle" implementation

func (*SocketcanBus) Send

func (socketcan *SocketcanBus) Send(frame canopen.Frame) error

"Send" implementation of Bus interface

func (*SocketcanBus) Subscribe

func (socketcan *SocketcanBus) Subscribe(rxCallback canopen.FrameListener) error

"Subscribe" implementation of Bus interface

Jump to

Keyboard shortcuts

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