Nfc

object Nfc

Constants and utilities related to NFC.

Properties

Link copied to clipboard
const val CLA_CHAIN_LAST: Int = 0

Command chaining control flag indicating this is the last or only part of a chain.

Link copied to clipboard
const val CLA_CHAIN_NOT_LAST: Int = 16

Command chaining control flag indicating this is not the last part of a chain.

Link copied to clipboard

The external type for Connection Handover BLE Options (ChBleOptions).

The external type for DeviceEngagement in NFC Connection Handover.

Link copied to clipboard

The external type for NFC data transfer.

The external type for ReaderEngagement in NFC Connection Handover.

Link copied to clipboard
const val INS_ENVELOPE: Int = 195

ENVELOPE command.

Link copied to clipboard
const val INS_GET_RESPONSE: Int = 192

GET RESPONSE command.

Link copied to clipboard
const val INS_READ_BINARY: Int = 176

READ_BINARY command.

Link copied to clipboard
const val INS_SELECT: Int = 164

SELECT command.

Link copied to clipboard

Parameter value 1 for SELECT when selecting an application.

Link copied to clipboard
const val INS_SELECT_P1_FILE: Int = 0

Parameter value 1 for SELECT when selecting a file.

Link copied to clipboard

Parameter value 2 for SELECT when selecting an application and requesting response data (FCI).

Link copied to clipboard
const val INS_SELECT_P2_FILE: Int = 12

Parameter value 2 for SELECT when selecting a file.

Link copied to clipboard

Parameter value 2 for SELECT when requesting that no response data field is returned.

Link copied to clipboard
const val INS_UPDATE_BINARY: Int = 214

UPDATE_BINARY command.

Link copied to clipboard

The Application ID for ISO mdoc NFC Concurrent Channel Engagement (CCE).

The Application ID for ISO mdoc NFC data transfer.

Link copied to clipboard

The MIME type for BLE connection handover.

Link copied to clipboard
val NDEF_APPLICATION_ID: ByteString

The Application ID for the Type 4 Tag NDEF application.

Link copied to clipboard

The File Identifier for the NDEF Capability Container file.

The ResponseApdu.status for indicating that bytes are still available.

The ResponseApdu.status for indicating a file or application was not found.

The ResponseApdu.status for indicating a function in CLA is not supported.

The ResponseApdu.status for indicating an instruction is not supported

The ResponseApdu.status for indicating a command was aborted.

Link copied to clipboard
const val RESPONSE_STATUS_SUCCESS: Int = 36864

The ResponseApdu.status for indicating a request was successful.

Link copied to clipboard
val RTD_ALTERNATIVE_CARRIER: ByteString

RTD Alternative Carrier type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_COLLISION_RESOLUTION: ByteString

RTD Collision Resolution type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_HANDOVER_CARRIER: ByteString

RTD Handover Carrier type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_HANDOVER_REQUEST: ByteString

RTD Handover Request type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_HANDOVER_SELECT: ByteString

RTD Handover Select type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_SERVICE_PARAMETER: ByteString

RTD Service Parameter type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_SERVICE_SELECT: ByteString

RTD Service Select type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_SMART_POSTER: ByteString

RTD Smart Poster type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_TEXT: ByteString

RTD Text type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_TNEP_STATUS: ByteString

RTD TNEP Status Record type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard
val RTD_URI: ByteString

RTD URI type, for use with Tnf.WELL_KNOWN.

Link copied to clipboard

The service name for connection handover.