serial

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 Open

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

Open the specified serial device.

func OpenBest

func OpenBest() (msg.Device, error)

OpenBest the first best available serial device.

Types

This section is empty.

Jump to

Keyboard shortcuts

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