Documentation ¶
Index ¶
- func NewSocketCanBus(name string) (canopen.Bus, error)
- type SocketcanBus
- func (socketcan *SocketcanBus) Connect(...any) error
- func (socketcan *SocketcanBus) Disconnect() error
- func (socketcan *SocketcanBus) Handle(frame sockcan.Frame)
- func (socketcan *SocketcanBus) Send(frame canopen.Frame) error
- func (socketcan *SocketcanBus) Subscribe(rxCallback canopen.FrameListener) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.