Topic: How to distinguish a mifare ultralight c ?
I have a stupid question:
How can I distinguish a mifare ultralight c from a classic mifare ultralight ? Is the size of the card written somewere ?
thank you
Public platform independent Near Field Communication (NFC) library
You are not logged in. Please login or register.
I have a stupid question:
How can I distinguish a mifare ultralight c from a classic mifare ultralight ? Is the size of the card written somewere ?
thank you
How can I distinguish a mifare ultralight c from a classic mifare ultralight ?
It is not a stupid question at all ! Actually, I'm asking similar questions about whole MIFARE family tags.
Concerning Ultralight and according to "MIFARE Type Identification Procedure", ATQA, SAK are the same and this tag doesn't replay ATS. The only way I saw is to send a READ command on page >0xf (i.e. 0x10). If the command succeed, this is an Ultralight C, otherwise an "simple" Ultralight.
The only problem I can see ATM using this method is that I don't know which kind of respond will the PICC reply if 0x10 is 3DES crypted.
Is the size of the card written somewere ?
AFAIK, there is no field for that in MIFARE Ultralight (C).
The previous suggestion have been implemented in nfcutils (lsnfc) and confirmed to work fine : revision 529.
http://code.google.com/p/nfc-tools/source/detail?r=529
The 3DES case have not been tested.
Thank you for your answer
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.