reader

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnForceIso14443_4 added in v1.0.12

func IsEnForceIso14443_4() bool

func PrepareReader added in v1.0.11

func PrepareReader(c *context.Context, reader string) error

ConnectReader verify reader, configure reader to send automatic polling for card detyection and return reader instance.

Types

type Reader

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

func ConnectReader

func ConnectReader(c *context.Context, reader string) (*Reader, error)

ConnectReader verify reader, configure reader to send automatic polling for card detyection and return reader instance.

func (*Reader) ConnectCard

func (r *Reader) ConnectCard() (*scard.Card, error)

ConnectCard connect card in reader. Protocol used is T=1.

func (*Reader) Name

func (r *Reader) Name() string

Name return name's reader

Jump to

Keyboard shortcuts

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