serialPort

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SerialPort

type SerialPort struct {
	Signal *Signal.Lock
	// contains filtered or unexported fields
}

func (*SerialPort) Close

func (e *SerialPort) Close() error

func (*SerialPort) IsOpen

func (e *SerialPort) IsOpen() bool

func (*SerialPort) Open

func (e *SerialPort) Open(options serial.OpenOptions) error

func (*SerialPort) Read

func (e *SerialPort) Read(data []byte, timeout int64) (int, error)

func (*SerialPort) Write

func (e *SerialPort) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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