Protocol

NFCISO15693Tag

An interface for interacting with an ISO 15693 tag.

Declaration

@protocol NFCISO15693Tag

Overview

The NFCTagReaderSessionDelegate receives an object that conforms to the NFCISO15693Tag protocol when the NFCTagReaderSession detects an ISO 15693-compatible tag. For the delegate to receive the tag object, your app must include the Near Field Communication Tag Reader Session Formats Entitlement.

For the reader session to read and write data to the tag, it must be available to the reader session. Use the isAvailable property to check the tag’s availability.

Topics

Getting Tag Information

icManufacturerCode

The IC manufacturer code of the tag.

Required.

icSerialNumber

The IC serial number assigned to the tag by the manufacturer.

Required.

identifier

The unique hardware identifier of the tag.

Required.

Selecting Request Flag Options

RequestFlag

A set of bit mask options that, when combined, define the request flags to use when sending a command.

Getting System Information

- getSystemInfoWithRequestFlag:completionHandler:

Sends the Get System Information command (0x2B command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Single Block Commands

- readSingleBlockWithRequestFlags:blockNumber:completionHandler:

Sends a Read Single Block command (0x20 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

- writeSingleBlockWithRequestFlags:blockNumber:dataBlock:completionHandler:

Sends the Write Single Block command (0x21 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

- lockBlockWithRequestFlags:blockNumber:completionHandler:

Sends the Lock Block command (0x22 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Multi-block Commands

- readMultipleBlocksWithRequestFlags:blockRange:completionHandler:

Sends the Read Multiple Blocks command (0x23 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

- writeMultipleBlocksWithRequestFlags:blockRange:dataBlocks:completionHandler:

Sends the Write Multiple Blocks command (0x24 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

- getMultipleBlockSecurityStatusWithRequestFlag:blockRange:completionHandler:

Sends the Get Multiple Block Security Status command (0x2C command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Application Family Identifier Commands

- writeAFIWithRequestFlag:afi:completionHandler:

Sends the Write AFI command (0x27 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

- lockAFIWithRequestFlag:completionHandler:

Sends the Lock AFI command (0x28 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Data Storage Format Identifier Commands

- writeDSFIDWithRequestFlag:dsfid:completionHandler:

Sends the Write DSFID command (0x29 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

- lockDFSIDWithRequestFlag:completionHandler:

Sends the Lock DSFID command (0x2A command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Reset to Ready Command

- resetToReadyWithRequestFlags:completionHandler:

Sends the Reset To Ready command (0x26 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Select Command

- selectWithRequestFlags:completionHandler:

Sends the Select command (0x25 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Stay Quiet Command

- stayQuietWithCompletionHandler:

Sends a Stay Quiet command (0x02 command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Custom Commands

- customCommandWithRequestFlag:customCommandCode:customRequestParameters:completionHandler:

Sends a custom command (0xA0 to 0xDF command code), as defined in the ISO 15693-3 specification, to the tag.

Required.

Sending Extended Commands

- extendedReadSingleBlockWithRequestFlags:blockNumber:completionHandler:

Sends the Extended Read Single Block command (0x30 command code), as defined in the NFC Forum Type 5 tag specification, to the tag.

Required.

- extendedWriteSingleBlockWithRequestFlags:blockNumber:dataBlock:completionHandler:

Sends the Extended Write Single Block command (0x31 command code), as defined in the NFC Forum Type 5 tag specification, to the tag.

Required.

- extendedLockBlockWithRequestFlags:blockNumber:completionHandler:

Sends the Extended Lock Single Block command (0x32 command code), as defined in the NFC Forum Type 5 tag specification, to the tag.

Required.

- extendedReadMultipleBlocksWithRequestFlags:blockRange:completionHandler:

Sends the Extended Read Multiple Block command (0x33 command code), as defined in the NFC Forum Type 5 tag specification, to the tag.

Required.

Getting Response Errors

NFCISO15693TagResponseErrorKey

A user information dictionary key indicating that a tag responded with a command error.

Relationships

Inherits From

See Also

Tag Types

Creating NFC Tags from Your iPhone

Save data to tags, and interact with them using native tag protocols.

NFCISO7816Tag

An interface for interacting with an ISO 7816 tag.

NFCFeliCaTag

An interface for interacting with a FeliCa™ tag.

NFCMiFareTag

An interface for interacting with a MIFARE® tag.

NFCNDEFTag

An interface for interacting with an NDEF tag.

NFCTag

An interface for interacting with an NFC or RFID tag.

NFCTagCommandConfiguration

A set of parameters you use to define the configuration of an NFC tag command.