public abstract class ContactlessCard
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
byte |
afi
The card AFI (Available for ISO15 cards only).
|
short |
atqa
The card ATQA (Available for MIFARE cards only).
|
int |
blockSize
The card block size (Available for ISO15 cards only).
|
int |
capacity
The card capacity.
|
static int |
CARD_EPASSPORT
E Passport.
|
static int |
CARD_FELICA
FeliCa
|
static int |
CARD_ISO14443A
ISO 14443A.
|
static int |
CARD_ISO14443B
ISO 14443B.
|
static int |
CARD_ISO15693
ISO 15693.
|
static int |
CARD_MIFARE_CLASSIC_1K
Mifare Classic 1K.
|
static int |
CARD_MIFARE_CLASSIC_4K
Mifare Classic 4K.
|
static int |
CARD_MIFARE_DESFIRE
Mifare Desfire.
|
static int |
CARD_MIFARE_MINI
Mifare Mini.
|
static int |
CARD_MIFARE_PLUS
Mifare Plus.
|
static int |
CARD_MIFARE_ULTRALIGHT
Mifare Ultralight.
|
static int |
CARD_MIFARE_ULTRALIGHT_C
Mifare Ultralight C.
|
static int |
CARD_PAYMENT
Payment card.
|
static int |
CARD_PICOPASS_14443B
PicoPass 15693.
|
static int |
CARD_PICOPASS_15693
PicoPass 15693.
|
static int |
CARD_ST_SRI
ST SRI
|
static int |
CARD_UNKNOWN
Unknown card.
|
int |
channel
The card channel.
|
byte |
dsfid
The card data storage format identifier (Available for ISO15 cards only).
|
boolean |
hyatt64Card
The HYATT card enabled.
|
int |
maxBlocks
The card max block size (Available for ISO15 cards only).
|
protected RC663 |
mModule
The instance of RC663 module.
|
short |
sak
The card SAK (Available for MIFARE cards only).
|
int |
type
The card type.
|
byte[] |
uid
The card UID.
|
Constructor and Description |
---|
ContactlessCard(RC663 module)
Create a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
deinitialise()
Deinitialise card.
|
RFID |
getModule()
Get RFID for this card.
|
java.lang.String |
getTypeName()
Get card type name.
|
protected abstract boolean |
initialize()
Initialize card.
|
void |
waitRemove()
Call this function once you are done with the card.
|
public static final int CARD_UNKNOWN
public static final int CARD_MIFARE_MINI
public static final int CARD_MIFARE_CLASSIC_1K
public static final int CARD_MIFARE_CLASSIC_4K
public static final int CARD_MIFARE_ULTRALIGHT
public static final int CARD_MIFARE_ULTRALIGHT_C
public static final int CARD_ISO14443A
public static final int CARD_MIFARE_PLUS
public static final int CARD_ISO15693
public static final int CARD_MIFARE_DESFIRE
public static final int CARD_ISO14443B
public static final int CARD_FELICA
public static final int CARD_ST_SRI
public static final int CARD_PAYMENT
public static final int CARD_PICOPASS_15693
public static final int CARD_PICOPASS_14443B
public static final int CARD_EPASSPORT
public boolean hyatt64Card
public int channel
public int type
public byte[] uid
public int capacity
public short atqa
public short sak
public byte afi
public byte dsfid
public int blockSize
public int maxBlocks
protected RC663 mModule
public ContactlessCard(RC663 module)
module
- The instance of RC663;protected abstract boolean initialize() throws java.io.IOException
java.io.IOException
- if an I/O error occurs.protected abstract boolean deinitialise() throws java.io.IOException
java.io.IOException
- if an I/O error occurs.public void waitRemove() throws java.io.IOException
java.io.IOException
- if an I/O error occurs.public RFID getModule()
public java.lang.String getTypeName()