0

I'm trying to write a small image file to a mifare desfire card using an HID OMNIKEY 5427 reader

The documentation mentions to communicate with the card using the below apdu command format:

Wrapping of native MIFARE DESFire EV1 APDUs:

CLA    | INS     | P1    | P2    | LC        | Data        | LE
0x90     MIFARE    0x00    0x00    Length of   MIFARE        0x00
         DESFire                   wrapped     DESFire EV1
         EV1 CMD                   data        command
         Code                                  parameter(s)

I was able to write a small image file to the mifare non desfire cards just fine.. but with this format I don't really know where to start..

#1 I don't know where the list of "Mifare desfire EV1 cmd code"'s would be? This link: https://www.mifare.net/support/forum/topic/native-commands-sending-to-mifare-desfire-ev1/ mentions these command codes? But I don't know if it is correct to use them in this way?

enter image description here

My question is how to I write data to these cards via apdu commands?

I'm looking for a series of apdu commands that could just write a very small amount of data to the card using the "Wrapping of Native MIFARE Desfire EV1 APDUs" format

0 Answers0