Uses of Class
com.pi4j.crowpi.components.exceptions.RfidException
Packages that use RfidException
-
Uses of RfidException in com.pi4j.crowpi.components.exceptions
Subclasses of RfidException in com.pi4j.crowpi.components.exceptionsModifier and TypeClassDescriptionclass
Collision exception for the RFID component based onRfidException
.class
Timeout exception for the RFID component based onRfidException
.class
Unsupported card exception for the RFID component based onRfidException
. -
Uses of RfidException in com.pi4j.crowpi.components.internal.rfid
Methods in com.pi4j.crowpi.components.internal.rfid that throw RfidExceptionModifier and TypeMethodDescriptionMFRC522.initializeCard()
Selects a single PICC and transitions it from READY to ACTIVE state, then returns an appropriateRfidCard
instance.protected void
MFRC522.mifareAuth
(MifareKey key, byte blockAddr, RfidCardUid uid) Authenticates the sector to which the specified block belongs for MIFARE PICCs.protected byte[]
MFRC522.mifareRead
(byte blockAddr) Reads the specified block from a MIFARE PICC usingPiccCommand.MF_READ
.protected void
MFRC522.mifareWrite
(byte blockAddr, byte[] dataBuffer) Writes the specified amount of data usingPiccCommand.MF_WRITE
to a MIFARE PICC.protected byte[]
Mifare1K.readBytes()
Reads all available blocks from the card and returns a byte array.protected abstract byte[]
RfidCard.readBytes()
Reads all available blocks from the card and returns a byte array.RfidCard.readObject()
Reads a single Java object from the card without casting the result into a more-specific type.<T> T
RfidCard.readObject
(Class<T> type) Reads a single Java object from the card by deserializing a GZIP-compressed byte stream previously written onto the card.protected RfidCardUid
MFRC522.select()
Selects a single PICC by executing the ANTICOLLISION and SELECT procedure according to ISO 14443.void
MFRC522.uninitializeCard()
Uninitializes the currently active card by sending it back into HALT state and stopping encrypted communication.protected void
Mifare1K.writeBytes
(byte[] data) Writes the given data to the card, using as many blocks as needed.protected abstract void
RfidCard.writeBytes
(byte[] data) Writes the given data to the card, using as many blocks as needed.void
RfidCard.writeObject
(Object data) Stores a single Java object onto the card by serializing the passed object and writing a GZIP-compressed byte stream.