问题
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.
回答1:
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.
回答2:
Very complete command send can be found from this Host Card Emulation project. It shows how to emulate a DESFire card on Android mobile:
- https://github.com/jekkos/android-hce-desfire/blob/master/hceappletdesfire/src/main/java/net/jpeelaer/hce/desfire/DesFireInstruction.java
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
回答3:
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.
来源:https://stackoverflow.com/questions/12174000/desfire-command-set-detail