Re: Some propriatory commands does not work or are locked on Android ?

Forum MIFARE SmartCard IC`s MIFARE DESFire Some propriatory commands does not work or are locked on Android ? Re: Some propriatory commands does not work or are locked on Android ?

Re: Some propriatory commands does not work or are locked on Android ?

26. May 2013 at 11:42
Hi Francesco,

That is the theoretical, but I checked performing the following test:

1. Send 0x0A, Authenticate (KeyNo), card reply with challenge
2. Perform key calculation localy, in less than 100ms
3. Send 0xAF+ciph(RNDA+RNDB') to continue with authenticacion
4. Everything is correct,
5. Read files... OK

Buy fails with 0x1C if:

1. Send 0x0A, Authenticate (KeyNo), card reply with challenge
2. Sleep or Wait 500-700ms (i need generate session key in remote system via WebService)
3. Send 0xAF+ciph(RNDA+RNDB') to continue with authenticacion
4. I always got 0x1C from card... why?

I could solve this by analyzing the android surce code to find a way to keep connection alive in the NfcService, (using ugly reflection method), It can be done differently?

Thanks
+ 1  |  - 0