serial

package
v0.0.0-...-42d3920 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts []OptionSerial) (map[string]io.ReadWriteCloser, map[string][md5.Size]byte, error)

func NewSerial

func NewSerial(portnum string, baudrate uint) (io.ReadWriteCloser, error)

Types

type OptionSerial

type OptionSerial struct {
	PortName        string
	BaudRate        uint
	MinimumReadSize uint
}

Jump to

Keyboard shortcuts

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