4

I have experience in java cards, but new in programming host application for Desfire, How or Where can I find command set description of Desfire? (I do not need general information like what NXP has mentioned in It's "Product short data sheet"s), I need the commands Instruction code and parameter details and responses (Like APDU or something). thanks.

Oca Amir
  • 51
  • 1
  • 1
  • 6

3 Answers3

7

I am having exact same trouble as you. The closest thing to documentation of the commands is a blog post that shows a couple of examples of what the desfire communication looks like.

http://ridrix.wordpress.com/2009/09/19/mifare-desfire-communication-example/`

But there is a library that can help you with putting desfire commands together:

http://code.google.com/p/nfc-tools/wiki/libfreefare

Edit: It turns out that you can't get the documentation freely. You need to sign an NDA and then buy it.

sdkljhdf hda
  • 1,387
  • 9
  • 17
  • Thank you for your help, I have expected to pay for such documentation, but I've not it found yet. I'd like you address where can I buy that. – Oca Amir Sep 01 '12 at 09:08
  • First you need to send this request to NXP: http://www.nxp.com/documents/other/mf_passwordrequest200902.pdf – sdkljhdf hda Sep 14 '12 at 14:29
  • Ridrix blog is quite outdated. You find newer examples. here: http://stackoverflow.com/questions/38283998/desfire-ev1-communication-examples/38283999#38283999 – Elmue Jul 11 '16 at 13:03
5

Very complete command send can be found from this Host Card Emulation project. It shows how to emulate a DESFire card on Android mobile:

I found this PDF useful (third party list of commands for older model) - it can you get started with things like getting application list:

http://neteril.org/files/M075031_desfire.pdf

Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/11469944) – Fabio Lamanna Mar 02 '16 at 14:39
  • @FabioLamanna: Thank you for the comment. DESFire command set is 100+ pages so there is a reason why it is not included in the answer. – Mikko Ohtamaa Mar 02 '16 at 21:01
  • @FabioLamanna: I'll see if I can get a summary in the answer, written in a manner it doesn't violate any NDAs are copyrights. It's an interface after all. – Mikko Ohtamaa Mar 02 '16 at 21:03
0

You don't need to buy it, the datasheets are free after you sign the NDA and NXP sets you up to download the secure documentation.

Papyrus
  • 232
  • 3
  • 10