Modules.Nfc.TagTechnologyNfcF
Provides access to NFC-F (JIS 6319-4) properties and I/O operations on a Modules.Nfc.NfcTag.
Use the Modules.Nfc.createTagTechnologyNfcF method to create this tag technology.
See also: NfcF
Extends: Modules.Nfc.TagTechnology · Since: 1.1.0 · Platforms: android
Methods #
getManufacturer #
Return the Manufacturer bytes from tag discovery.
Returns: Titanium.Buffer — Manufacturer bytes.
getMaxTransceiveLength #
Return the maximum number of bytes that can be sent with transceive.
Returns: Number
getSystemCode #
Return the System Code bytes from tag discovery.
Returns: Titanium.Buffer — System Code bytes.
setTimeout #
Set the timeout of transceive in milliseconds.
Parameters:
| Name | Type | Summary | Optional |
|---|---|---|---|
timeout | Number | Timeout value in milliseconds | No |
transceive #
Send raw NFC-F 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.