Package | Description |
---|---|
com.diozero |
Classes representing actual devices such as LEDs, Buttons as well as GPIO,
SPI and I2C connected devices.
|
Modifier and Type | Method and Description |
---|---|
MFRC522.StatusCode |
MFRC522.authenticate(boolean authKeyA,
byte blockAddr,
byte[] key,
MFRC522.UID uid)
Executes the MFRC522 MFAuthent command.
|
MFRC522.StatusCode |
MFRC522.Response.getStatus() |
MFRC522.StatusCode |
MFRC522.haltA()
Instructs a PICC in state ACTIVE(*) to go to state HALT.
|
MFRC522.StatusCode |
MFRC522.mifareDecrement(byte blockAddr,
int delta)
MIFARE Decrement subtracts the delta from the value of the addressed block, and stores the result in a volatile memory.
|
MFRC522.StatusCode |
MFRC522.mifareIncrement(byte blockAddr,
int delta)
MIFARE Increment adds the delta to the value of the addressed block, and stores the result in a volatile memory.
|
MFRC522.StatusCode |
MFRC522.mifareRestore(byte blockAddr)
MIFARE Restore copies the value of the addressed block into a volatile memory.
|
MFRC522.StatusCode |
MFRC522.mifareSetValue(byte blockAddr,
int value)
Helper routine to write a specific value into a Value Block.
|
MFRC522.StatusCode |
MFRC522.mifareTransceive(byte[] sendData) |
MFRC522.StatusCode |
MFRC522.mifareTransceive(byte[] sendData,
boolean acceptTimeout)
Wrapper for MIFARE protocol communication.
|
MFRC522.StatusCode |
MFRC522.mifareTransfer(byte blockAddr)
MIFARE Transfer writes the value stored in the volatile memory into one MIFARE Classic block.
|
MFRC522.StatusCode |
MFRC522.mifareTwoStepHelper(com.diozero.MFRC522.PiccCommand command,
byte blockAddr,
int data)
Helper function for the two-step MIFARE Classic protocol operations Decrement, Increment and Restore.
|
MFRC522.StatusCode |
MFRC522.mifareUltralightWrite(byte page,
byte[] buffer)
Writes a 4 byte page to the active MIFARE Ultralight PICC.
|
MFRC522.StatusCode |
MFRC522.mifareWrite(byte blockAddr,
byte[] buffer)
Writes 16 bytes to the active PICC.
|
MFRC522.StatusCode |
MFRC522.requestA(byte[] bufferATQA)
Transmits a REQuest command, Type A.
|
MFRC522.StatusCode |
MFRC522.requestAOrWakeUpA(com.diozero.MFRC522.PiccCommand command,
byte[] bufferATQA)
Transmits REQA or WUPA commands.
|
static MFRC522.StatusCode |
MFRC522.StatusCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MFRC522.StatusCode[] |
MFRC522.StatusCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MFRC522.StatusCode |
MFRC522.wakeupA(byte[] bufferATQA)
Transmits a Wake-UP command, Type A.
|
Constructor and Description |
---|
Response(MFRC522.StatusCode status) |
Response(MFRC522.StatusCode status,
byte[] backData) |
Response(MFRC522.StatusCode status,
byte[] backData,
int backLen,
byte validBits) |
Copyright © 2016–2017 mattjlewis. All rights reserved.