Skip to content

Modules.Nfc.TagTechnologyNfcA

Provides access to NFC-A (ISO 14443-3A) properties and I/O operations on a Modules.Nfc.NfcTag.

Use the Modules.Nfc.createTagTechnologyNfcA method to create this tag technology.

See also: NfcA

Extends: Modules.Nfc.TagTechnology · Since: 1.1.0 · Platforms: android

Methods #

getAtqa #

Return the ATQA/SENS_RES bytes from tag discovery.

Returns: Titanium.Buffer — ATQA/SENS_RES bytes.

getMaxTransceiveLength #

Return the maximum number of bytes that can be sent with transceive.

Returns: Number

getSak #

Return the SAK/SEL_RES bytes from tag discovery.

Returns: Number — SAK bytes.

getTimeout #

Get the current transceive timeout in milliseconds.

Returns: Number

setTimeout #

Set the timeout of transceive in milliseconds.

Parameters:
NameTypeSummaryOptional
timeoutNumberTimeout value in millisecondsNo

transceive #

Send raw NFC-A commands to the tag and receive the response.

Parameters:
NameTypeSummaryOptional
dataTitanium.BufferBytes to send.No

Returns: Titanium.Buffer — Response bytes received.

Titanium SDK Documentation