controlcodes

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlCodes

type ControlCodes byte
const (
	STX   ControlCodes = 0x02 // Denotes the beginning of a message frame
	ETX   ControlCodes = 0x03 // Denotes the ending of a message frame
	EOT   ControlCodes = 0x04 // Indicates communication session terminated
	ENQ   ControlCodes = 0x05 // Begin Session sent from the host to the POS
	ACK   ControlCodes = 0x06 // Acknowledge of message received
	NAK   ControlCodes = 0x15 // Indicates invalid message received
	FS    ControlCodes = 0x1C // Field separator
	GS    ControlCodes = 0x1D // Message ID follows (for non-PIN entry prompts)
	RS    ControlCodes = 0x1E // Message ID follows (for PIN entry prompts)
	US    ControlCodes = 0x1F
	COMMA ControlCodes = 0x2C
	COLON ControlCodes = 0x3A
	PTGS  ControlCodes = 0x7C
	LF    ControlCodes = 0x0A
)

func (ControlCodes) ByteConstants

func (c ControlCodes) ByteConstants() []ibyteconstant.IByteConstant

func (ControlCodes) GetByte

func (c ControlCodes) GetByte() byte

func (ControlCodes) String

func (c ControlCodes) String() string

Jump to

Keyboard shortcuts

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