-3

I need to be able to read the unique id of the following card types: mifare , emv and calypso.

i m able to read the ATR of those cards , but could not find the command for receiving the unique id

Card card = terminal.connect("T=1");
CardChannel channel = card.getBasicChannel();
ATR r2 = channel.getCard().getATR();
byte atr[] = r2.getBytes();
yaniv
  • 152
  • 5
  • 15
  • 1
    At least a [related question](https://stackoverflow.com/q/39609445/1435475). I'll vote for close however, since the question seems too broad and I can't recognize a real attempt to solve it - the ATR is definitely far from unique. – guidot Jun 10 '19 at 15:39
  • have you checked this - https://stackoverflow.com/questions/39609445/how-to-get-a-unique-smart-card-id?noredirect=1&lq=1 – Adarsh Nanu Jun 12 '19 at 04:25

1 Answers1

0

It seems like the answer to all the specified cards is 0xFFCA000000 (UID)

yaniv
  • 152
  • 5
  • 15