Reply To: Using ISO7816 APDU style to select a file

Forum MIFARE general topics and applications Using ISO7816 APDU style to select a file Reply To: Using ISO7816 APDU style to select a file

Re: Using ISO7816 APDU style to select a file

20. January 2016 at 11:57
Hi msramos,

the exact APDU byte sequence depends from the used reader driver. Some reader drivers requires to put native commands in enveloping APDU commands. Please refer to the manual of your reader.

For the MIFARE DESFire you have to select an application ID first, before you can have access to files residing in the application.
With native commands you have this sequence:

    SelectApplication (3 byte AID)
    ReadData/WriteData etc (1 byte file ID, start offset, number of bytes to read/write)

The application stay selected until an error occurs or you select another AID.

Kind regards,
The MIFARE Team

+ 0  |  - 0