serial

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BestDevice added in v0.14.0

func BestDevice() (msg.Device, error)

BestDevice returns the first best available serial device.

func FindPort

func FindPort() string

FindPort will return the fist known USB serial port or an empty string.

func ListPorts

func ListPorts() ([]string, error)

ListPorts will return a list of all known serial ports.

func NewDevice added in v0.14.0

func NewDevice(path string) (msg.Device, error)

NewDevice creates a new serial device for the given path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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