Fields Summary |
---|
static final byte | EOTThis field contains the EOT code which is always sent as the last
octet of any TLP224 message. |
static final byte | ACKThis field contains the ACK code which is returned to the sender as
the first octet of a TLP224 response when a message has been
successfully received. |
static final byte | NACKThis field contains the NACK code which is returned to the sender as
the first octet of a TLP224 response when a transmission error occurs. |
static final byte | POWER_UPThis field contains the TLP224 command to power up the CAD. |
static final byte | ISO_INPUTThis field contains the TLP224 command to send data to the card. |
static final byte | ISO_OUTPUTThis field contains the TLP224 command to read data from the card. |
static final byte | STATUS_SUCCESSThis status code is returned by both the Client and Server CAD's when
a command has been successfully executed. |
static final byte | STATUS_PROTOCOL_ERRORThis status code is returned by both the Client and Server CAD's when
the first byte of a received message is neither an ACK or NACK. |
static final byte | STATUS_MESSAGE_TOO_LONGThis status code is returned by both the Client and Server CAD's
when a received message exceeds the length of the internal buffers. |
static final byte | STATUS_INTERRUPTED_EXCHANGEThis status code is returned by the reader or ServerCad if the card
sends a Procedure Byte which aborts a ISO_IN or ISO_OUT command. |
static final byte | STATUS_CARD_ERRORThis status code is returned by the reader or ServerCad
if SW1 SW2 are not equal to 0x9000. |
static final byte | STATUS_CARD_REMOVEDThis status code is returned by the reader or ServerCad if the card was
removed between exchanges. |
static final byte | STATUS_CARD_MISSINGThis status code is returned by the reader or ServerCad if there is
no card in the reader. |
private static final int | MAX_MESSAGE_LENThis field contains the size of the largest possible TLP224 Message.
This message would be <ACK><LEN><255 bytes of
command><LRC> |
private byte[] | bufLocal buffer for this TLP224 message. |
private int | lenCurrent length of data in local buffer. |