0

I'm trying to read and write with an android app an mifare desfire card (classic works already) but don't know how it works :). I know it has something to do with transceive(byte[]) which is responsible for communicating through raw bytes but how does it work in detail? Can you give me some Code-snippets?

Thanks a lot and best regards.

Jules
  • 189
  • 1
  • 5
  • 20
  • 1
    Have you seen this answer: http://stackoverflow.com/a/11524507/27190? – martijno Feb 17 '13 at 21:00
  • See linked answer above. Basically, you need to get protocol documentation from NXP and implement it in your app on top of `transceive()`. – Nikolay Elenkov Feb 18 '13 at 02:08
  • Hi, thanks for the answers. I already read the entry mentioned above. I thought there is already some work done jet but it seems so, that I have to implement the protocol by my one. If someone did this job already I'm very interested in the solution. Thanks – Jules Feb 18 '13 at 21:44
  • Hi, me again :). If I understand you right with the transceive() method I'll get the raw-bytes and the protocol is used to now which bytes are responsible for what? Thanks :) – Jules Feb 23 '13 at 15:04

2 Answers2

1

NXP roll out an SDK to handle the communication with for example the Mifare DESFire EV1 cards: https://www.mifare.net/en/products/tools/taplinx/

Oskar
  • 1,597
  • 4
  • 19
  • 38
Jules
  • 189
  • 1
  • 5
  • 20
  • Hi, i read that about their SDK but saw about the LITE version and the advanced version which is 1 euro per app distributed. Wondering if i can use the LITE version to write to the password to the 3DES password area?? I am pretty new to this,still trying to figure out how it works. – John Oct 10 '15 at 05:27
  • Hi John, sorry for the late response...still working on that? – Jules Sep 08 '16 at 10:25
-1

It is rather complicated than that, because all communication is ciphered and could also be with CMAC. I've found a high level SDK than does all the job so you don't have to deal with transceive and all that, private message me if you are interested..

  • I can't send you an private message or didn't find the possibility in your profile. Can you please send me further informations about the sdk? THANKS! – Jules Mar 19 '14 at 08:43
  • @Jules I have a few issue with new SDK. credit debit getValue Any idea? – Mike Mar 30 '17 at 03:39
  • @aung what kind of problem do you have exactly? – Jules Apr 03 '17 at 15:23
  • @Jules I understand SDK pretty well now and already code a few lines and it work. I will test more in a couple of weeks times and will post if I hit the bumpy road again. Many Thanks – Mike Apr 04 '17 at 18:44