how does the APDU workk...
what does the following mean...
static byte[] APDU_SELECT = {(byte) 0x00 ,(byte) 0xA4 ,(byte) 0x04 ,(byte) 0x00 ,(byte) 0x0C,
(byte) 0x73, (byte) 0x69, (byte) 0x6D, (byte) 0x70, (byte) 0x6C, (byte) 0x65, (byte) 0x61 ,(byte) 0x70, (byte) 0x70,
(byte) 0x6C, (byte) 0x65, (byte) 0x74, (byte) 0x00};
static byte[] CMD_CHECK_BALANCE = { (byte) 0x50, (byte) 0xA6, (byte) 0x00, (byte) 0x0C, (byte) 0x00 };
static byte[] CMD_LOAD_MONEY = { (byte) 0x50, (byte) 0xA2, (byte) 0x00, (byte) 0x0C, (byte) 0x01,
(byte) 0x07 };
static byte[] CMD_GET_TICKET_PRICE = { (byte) 0x50, (byte) 0xB4, (byte) 0x00, (byte) 0x0C, (byte) 0x01 };
static byte[] CMD_ADD_TICKET = { (byte) 0x50, (byte) 0xB6, (byte) 0x00, (byte) 0x0C, (byte) 0x01,
(byte) 0x01 };
static byte[] CMD_TAKE_MONEY = { (byte) 0x50, (byte) 0xC4, (byte) 0x00, (byte) 0x0C, (byte) 0x01,
(byte) 0x07 };

Reply With Quote

