Modules.Nfc.TagTechnologyIsoDep
Provides access to ISO-DEP (ISO 14443-4) properties and I/O operations on a Modules.Nfc.NfcTag.
Use the Modules.Nfc.createTagTechnologyIsoDep method to create this tag technology.
See also: IsoDep
Extends: Modules.Nfc.TagTechnology · Since: 1.1.0 · Platforms: android
Methods #
getHiLayerResponse #
Return the higher layer response bytes for NfcB tags.
Returns: Titanium.Buffer — ISO-DEP historical bytes, or null if this is not a NfcB tag.
getHistoricalBytes #
Return the ISO-DEP historical bytes for NfcA tags.
Returns: Titanium.Buffer — ISO-DEP historical bytes, or null if this is not a NfcA tag.
getMaxTransceiveLength #
Return the maximum number of bytes that can be sent with transceive.
Returns: Number
isExtendedLengthApduSupported #
Whether the NFC adapter on this device supports extended length APDUs.
Returns: Boolean
setTimeout #
Set the timeout of transceive in milliseconds.
| Name | Type | Summary | Optional |
|---|---|---|---|
timeout | Number | Timeout value in milliseconds | No |
transceive #
Send raw ISO-DEP data to the tag and receive the response.
| Name | Type | Summary | Optional |
|---|---|---|---|
data | Titanium.Buffer | Bytes to send. | No |
Returns: Titanium.Buffer — Response bytes received.