Explanation: I am trying to read smart card using POS machine. I don't know anything to reading the card number and what is APDU? I have integrated an SDK for the android machine device and trying to read the card using icc classes which is provided in the SDK of machine.
I have lot of question regarding the APDU and transaction flow:
Q-1) Does APDU are same for all types of card?
Q-2) How APDU construct?
Q-3 From where to get the APDU which reading card?
I am using these APDU by default:
byte[] apdu_utf = { (byte)0x00, (byte) (byte)0xA4, (byte)0x04, (byte)0x00, (byte)0x0E, (byte)0x31, (byte)0x50, (byte)0x41, (byte)0x59, (byte)0x2E, (byte)0x53, (byte)0x59, (byte)0x53, (byte)0x2E, (byte)0x44, (byte)0x44, (byte)0x46, (byte)0x30, (byte)0x31 };
Follow below link to get help:
Use APDU commands to get some information for a card
Can anybody help me to solve out? Thank you