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
setTimeout #
Set the timeout of transceive in milliseconds.
Parameters:
| Name | Type | Summary | Optional |
|---|---|---|---|
timeout | Number | Timeout value in milliseconds | No |
transceive #
Send raw NFC-A commands to the tag and receive the response.
Parameters:
| Name | Type | Summary | Optional |
|---|---|---|---|
data | Titanium.Buffer | Bytes to send. | No |
Returns: Titanium.Buffer — Response bytes received.