simpleserial

package
v2.8.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: GPL-3.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleSerialReader

type SimpleSerialReader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(cfg *config.Instance) *SimpleSerialReader

func (*SimpleSerialReader) CancelWrite

func (*SimpleSerialReader) CancelWrite()

func (*SimpleSerialReader) Capabilities

func (*SimpleSerialReader) Capabilities() []readers.Capability

func (*SimpleSerialReader) Close

func (r *SimpleSerialReader) Close() error

func (*SimpleSerialReader) Connected

func (r *SimpleSerialReader) Connected() bool

func (*SimpleSerialReader) Detect

func (*SimpleSerialReader) Detect(_ []string) string

func (*SimpleSerialReader) Device

func (r *SimpleSerialReader) Device() string

func (*SimpleSerialReader) IDs

func (*SimpleSerialReader) IDs() []string

func (*SimpleSerialReader) Info

func (r *SimpleSerialReader) Info() string

func (*SimpleSerialReader) Metadata

func (*SimpleSerialReader) OnMediaChange

func (*SimpleSerialReader) OnMediaChange(*models.ActiveMedia) error

func (*SimpleSerialReader) Open

func (r *SimpleSerialReader) Open(device config.ReadersConnect, iq chan<- readers.Scan) error

func (*SimpleSerialReader) Write

func (*SimpleSerialReader) Write(_ string) (*tokens.Token, error)

Jump to

Keyboard shortcuts

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