simpleserial

package
v2.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

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