Reply To: DESFire EV1 SelectApplication Command

Forum MIFARE general topics and applications DESFire EV1 SelectApplication Command Reply To: DESFire EV1 SelectApplication Command

Re: DESFire EV1 SelectApplication Command

2. March 2016 at 14:46
Hi Jan,

Generally you can use SelectApplication() always without authentication. With SelectApplication() you go into the “application level” and all file operations are direct to file inside your application. But some commands or errors may move you back to the “card level” (AID = 0). If you continually operate to a file in your application and which does not exists for AID = 0, you will get an error.

If an errors occurs or you change the context e.g. change a access key, you should start the beginning sequence again:
SelectApplication(xx)
Authenticate() – if required for accessing a file
WriteData() etc.

The MIFARE Team

+ 0  |  - 0