Forum › MIFARE general topics and applications › DESFire EV1 SelectApplication Command › Reply To: DESFire EV1 SelectApplication Command
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
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