Forum › MIFARE SDK › DESFire EV1 – invalidResponse: No Such Key › Reply To: DESFire EV1 – invalidResponse: No Such Key
could you change just for the test your KEY to
0xFF and only 6 bytes long ?
Because I cannot see from the code why it wouldn't work, all seems fine with me. You say that card gets detected, that means lib is initialized correctly. It also even connects to the card. But the error occurs during authentication, and what does authentication need:
AUTH TYPE
KEY NO
KEY VERSION
cardKeyNo,
divOption
divInput
And all the parameters you have in. Maybe also to try (if 0xFF 6 byte long won't work), to use AUTH TYPE ISO ?
David
0xFF and only 6 bytes long ?
Because I cannot see from the code why it wouldn't work, all seems fine with me. You say that card gets detected, that means lib is initialized correctly. It also even connects to the card. But the error occurs during authentication, and what does authentication need:
AUTH TYPE
KEY NO
KEY VERSION
cardKeyNo,
divOption
divInput
And all the parameters you have in. Maybe also to try (if 0xFF 6 byte long won't work), to use AUTH TYPE ISO ?
David
+ 0
|
- 0