|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.datecs.api.rfid.ContactlessCard
com.datecs.api.rfid.STSRICard
public class STSRICard
| Field Summary |
|---|
| Fields inherited from class com.datecs.api.rfid.ContactlessCard |
|---|
afi, atqa, blockSize, capacity, CARD_FELICA, CARD_ISO14443A, CARD_ISO14443B, CARD_ISO15693, CARD_MIFARE_CLASSIC_1K, CARD_MIFARE_CLASSIC_4K, CARD_MIFARE_DESFIRE, CARD_MIFARE_MINI, CARD_MIFARE_PLUS, CARD_MIFARE_ULTRALIGHT, CARD_MIFARE_ULTRALIGHT_C, CARD_ST_SRI, CARD_UNKNOWN, channel, dsfid, hyatt64Card, maxBlocks, sak, type, uid |
| Constructor Summary | |
|---|---|
STSRICard(RC663 module)
Constructs a new instance of this class. |
|
| Method Summary | |
|---|---|
void |
completion()
Card completion. |
byte[] |
getUID()
Get UID. |
boolean |
initialize()
Initialize card. |
byte[] |
readBlock(int address)
Reads one more more blocks of data from ST SRI card. |
void |
reset()
Card reset. |
void |
writeBlock(int address,
byte[] data)
Writes one more more blocks of data to ST SRI card. |
| Methods inherited from class com.datecs.api.rfid.ContactlessCard |
|---|
getModule, waitRemove |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public STSRICard(RC663 module)
module - The instance of RC663 module.| Method Detail |
|---|
public boolean initialize()
throws java.io.IOException
java.io.IOException - if an I/O error occurs.
public void completion()
throws java.io.IOException,
RFIDException
java.io.IOException - If an I/O error occurs.
RFIDException - if an RF663 error occurs.
public void reset()
throws java.io.IOException,
RFIDException
java.io.IOException - If an I/O error occurs.
RFIDException - if an RF663 error occurs.
public byte[] readBlock(int address)
throws java.io.IOException,
RFIDException
address - The starting block to read from.
java.io.IOException - If an I/O error occurs.
RFIDException - if an RF663 error occurs.
public void writeBlock(int address,
byte[] data)
throws java.io.IOException,
RFIDException
address - The starting block to write to.data - The data to write, it must be multiple of block size.
java.io.IOException - If an I/O error occurs.
RFIDException - if an RF663 error occurs.
public byte[] getUID()
throws java.io.IOException,
RFIDException
java.io.IOException - If an I/O error occurs.
RFIDException - if an RF663 error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||