tags

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package tags provides a Tag interface to be implemented by software tags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag interface {
	Command(capdu *apdu.CAPDU) *apdu.RAPDU
}

Tag represents a software implementation of an NFC Type 4 Tag. The communication between the Devices and the Tags is performed via APDUs, with Command APDUs being received and answered with Response APDUs.

Tags must implement a Command function which should take care of processing CAPDUs and providing responses. It falls withing the Tag implementation to be consistent with the specification. The modules under nfctype4/tags offer examples of Tags.

The `nfctype4/drivers/swtag` driver provides binary communication for software tags. Check the `swtag` documentation to get an overview of its different applications.

Directories

Path Synopsis
Package static provides the implementation of a static software-based NFC Forum Type 4 Tag which holds a NDEF Message.
Package static provides the implementation of a static software-based NFC Forum Type 4 Tag which holds a NDEF Message.

Jump to

Keyboard shortcuts

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