Class

NFCISO7816APDU

An object representing an ISO 7816 application protocol data unit (APDU).

Declaration

@interface NFCISO7816APDU : NSObject

Topics

Creating an APDU Object

- initWithInstructionClass:instructionCode:p1Parameter:p2Parameter:data:expectedResponseLength:

Initializes an APDU object with the specified instruction class and code, parameter bytes, and expected response length.

- initWithData:

Initializes an APDU object with the data buffer containing the full APDU.

Getting the Instruction Bytes

instructionClass

The value of the instruction class (CLA) byte.

instructionCode

The value of the instruction code (INS) byte.

Get the Parameter Bytes

p1Parameter

The value of the P1 parameter byte.

p2Parameter

The value of the P2 parameter byte.

Getting the APDU Data

data

The data to transmit.

Getting the Expected Response Length

expectedResponseLength

The expected response data length (Le) in bytes.

Relationships

Inherits From

Conforms To

See Also

Sending a Command

- sendCommandAPDU:completionHandler:

Sends an application protocol data unit (APDU) to the tag and receives a response APDU.

Required.