Provides access to MIFARE Classic properties and I/O operations on a Modules.Nfc.NfcTag.
Use the Modules.Nfc.createTagTechnologyMifareClassic method to create this tag technology.
See also: MifareClassic
The well-known key for tags formatted according to the MIFARE Application Directory (MAD) specification.
The well-known key for tags formatted according to the MIFARE Application Directory (MAD) specification.
The well-known key for tags formatted according to the NDEF on MIFARE Classic specification.
The well-known key for tags formatted according to the NDEF on MIFARE Classic specification.
The name of the API that this proxy corresponds to.
The name of the API that this proxy corresponds to.
The value of this property is the fully qualified name of the API. For example, Button
returns Ti.UI.Button
.
The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.
The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.
If this property is set to a Window or TabGroup, then the corresponding Activity lifecycle event callbacks will also be called on the proxy. Proxies that require the activity lifecycle will need this property set to the appropriate containing Window or TabGroup.
The tag technology that has been discovered.
The tag technology that has been discovered.
When a tag is discovered, a Modules.Nfc.NfcTag proxy is created and passed as a property to the onNdefDiscovered
, onTagDiscovered
, or
onTechDiscovered
callback (see NdefDiscovered).
Authenticate a sector with key A.
Index of sector to authenticate, starting from 0.
6-byte authentication key.
Returns true on success, false on authentication failure.
Authenticate a sector with key B.
Index of sector to authenticate, starting from 0.
6-byte authentication key.
Returns true on success, false on authentication failure.
Return the sector that contains a given block.
Index of block to lookup, starting from 0.
Disable I/O operations to the tag and release resources.
Enable I/O operations to the tag.
Only one Tag Technology proxy can be connected to a Tag at a time.
Decrement a value block, storing the result in the temporary block on the tag.
Index of block to decrement, starting from 0.
Non-negative to decrement by.
Return the total number of MIFARE Classic blocks.
Return the number of blocks in the given sector.
Index of sector, starting from 0.
Return the maximum number of bytes that can be sent with transceive
.
Return the number of MIFARE Classic sectors.
Return the size of the tag in bytes.
Get the current transceive
timeout in milliseconds.
Return the type of this MIFARE Classic compatible tag.
Increment a value block, storing the result in the temporary block on the tag.
Index of block to increment, starting from 0.
Non-negative to increment by.
Returns true if connect has completed, and close has not been called, and the tag is not known to be out of range.
Return true if this tag technology was successfully obtained.
Read 16-byte block.
Index of block to read, starting from 0.
16 byte block.
Copy from a value block to the temporary block.
Index of block to copy from.
Return the first block of a given sector.
Index of sector to lookup, starting from 0.
Sets the value of the lifecycleContainer property.
New value for the property.
Sets the value of the tag property.
New value for the property.
Set the transceive
timeout in milliseconds.
Timeout value in milliseconds.
Send raw NfcA data to the tag and receive the response.
Bytes to send.
Response bytes received.
Copy from the temporary block to a value block.
Index of block to copy to.
Write 16-byte block.
Index of block to write, starting from 0.
16 bytes of data to write.