Skip navigation links
A C D G I R S T W 

A

antiCollisionDetect() - Method in class com.galarzaa.androidthings.Rc522
Checks for collision errors
AUTH_A - Static variable in class com.galarzaa.androidthings.Rc522
Authentication using Key A
AUTH_B - Static variable in class com.galarzaa.androidthings.Rc522
Authentication using Key B
authenticateCard(byte, byte, byte[]) - Method in class com.galarzaa.androidthings.Rc522
Authenticates the use of a specific address.
authenticateCard(byte, byte, byte[], byte[]) - Method in class com.galarzaa.androidthings.Rc522
Deprecated.

C

calculateAccessBits(byte[], byte[], byte[]) - Static method in class com.galarzaa.androidthings.Rc522
Calculates the access bits for a sector trailer (bytes 6 to 7) based on Table 6 and Table 7 on MIFARE 1k's reference
calculateAccessBits(byte[][]) - Static method in class com.galarzaa.androidthings.Rc522
Calculates the access bits for a sector trailer (bytes 6 to 7) based on Table 6 and Table 7 on MIFARE 1k's reference
calculateAccessConditions(byte[]) - Static method in class com.galarzaa.androidthings.Rc522
Calculates the individual access conditions given the access bits
com.galarzaa.androidthings - package com.galarzaa.androidthings
 

D

dataToHexString(byte[]) - Static method in class com.galarzaa.androidthings.Rc522
Converts a data byte array to a string representing its 16 bytes in hexadecimal
decreaseBlock(byte, int) - Method in class com.galarzaa.androidthings.Rc522
Decreases the value of a block by the specified operand.
dumpMifare1k() - Method in class com.galarzaa.androidthings.Rc522
Dumps all the data in all data blocks in MIFARE 1K cards with default authentication keys.

G

getBlockAddress(byte, byte) - Static method in class com.galarzaa.androidthings.Rc522
MIFARE tags blocks are organized in sectors, this calculates the address of a block in a specific sector
getBlockAddress(int, int) - Static method in class com.galarzaa.androidthings.Rc522
MIFARE tags blocks are organized in sectors, this calculates the address of a block in a specific sector
getUid() - Method in class com.galarzaa.androidthings.Rc522
Gets the UID of the last card that was successfully read.
getUidString(String) - Method in class com.galarzaa.androidthings.Rc522
Returns a string representation of the last read tag's UID
getUidString() - Method in class com.galarzaa.androidthings.Rc522
Returns a string representation of the last read tag's UID, separated by '-'
getUuid() - Method in class com.galarzaa.androidthings.Rc522
Deprecated.
Method renamed, use getUid() instead

I

increaseBlock(byte, int) - Method in class com.galarzaa.androidthings.Rc522
Increases the value of a block by the specified operand.

R

Rc522 - Class in com.galarzaa.androidthings
Library to interact with the RFID-RC522 module
Based on pi-rc22 by ondryaso
Rc522(Context, SpiDevice, Gpio) - Constructor for class com.galarzaa.androidthings.Rc522
Deprecated.
Rc522(SpiDevice, Gpio) - Constructor for class com.galarzaa.androidthings.Rc522
Initializes RC522 with the configured SPI port and pins.
readBlock(byte, byte[]) - Method in class com.galarzaa.androidthings.Rc522
Reads the current data stored in the tag's block.
readBlock(byte) - Method in class com.galarzaa.androidthings.Rc522
Deprecated.
Use readBlock(byte, byte[]) as it can report read status
readValue(byte) - Method in class com.galarzaa.androidthings.Rc522
Reads a value block and converts the stored value
request() - Method in class com.galarzaa.androidthings.Rc522
Requests for a tag
request(byte) - Method in class com.galarzaa.androidthings.Rc522
Requests for a tag
restoreBlock(byte) - Method in class com.galarzaa.androidthings.Rc522
Writes on the transfer buffer the contents of a value block

S

selectTag(byte[]) - Method in class com.galarzaa.androidthings.Rc522
Selects the tag to be used in following operations
setDebugging(boolean) - Method in class com.galarzaa.androidthings.Rc522
 
stopCrypto() - Method in class com.galarzaa.androidthings.Rc522
Ends operations that use crypto and cleans up

T

transferBlock(byte) - Method in class com.galarzaa.androidthings.Rc522
Writes the contents of the transfer buffer to a block

W

write(byte, byte[]) - Method in class com.galarzaa.androidthings.Rc522
Deprecated.
writeBlock(byte, byte[]) - Method in class com.galarzaa.androidthings.Rc522
Writes data to a block in the tag.
writeTrailer(byte, byte[], byte[], byte, byte[]) - Method in class com.galarzaa.androidthings.Rc522
Writes a sector's trailer's data.
writeValue(byte, int) - Method in class com.galarzaa.androidthings.Rc522
Writes a 32-bit signed integer to a value block in the required format The format is specified in section 8.6.2.1 in MIFARE 1k's datasheet Tag must be selected and block authenticated
A C D G I R S T W 
Skip navigation links