Android SDK Incomplete response Exception

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android SDK Incomplete response Exception

568 Views
melaghil
Contributor I

Hello team , 
We are encountering the following exception frequently when using #AndroidSDK with #DESFire EV3 8k card 

com.nxp.nfclib.exceptions.InvalidResponseLengthException: Incomplete response
at com.nxp.nfclib.desfire.DESFireEV1.readRecords(:2827)
at com.nxp.nfclib.desfire.DESFireEV2.readRecords(:2026)

We would appreciate your assistance with the following:

  1. What are the possible causes or scenarios that could trigger this InvalidResponseLengthException?

  2. How can we properly handle this exception in our application without requiring the card to be formatted?

Thank you for your support.



Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

525 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @melaghil 

1. What are the possible causes or scenarios that could trigger this InvalidResponseLengthException?

What did you do to trigger such an exception?

2. How can we properly handle this exception in our application without requiring the card to be formatted?

Generally, the standard process for accessing an EV3 card is as follows: Get and Select the existing application ID(AID) and file ID (FID), then authenticate. After successful authentication, you can read and write the data in the file.

0 Kudos
Reply

521 Views
melaghil
Contributor I

Hello @KaiLi 

     1. What did you do to trigger such an exception?

       Trying to read card records 

      2. Generally, the standard process for accessing an EV3 card is as follows: Get and Select  the existing application ID(AID) and file ID (FID), then authenticate. After successful 
authentication, you can read and write the data in the file.

           but now i got this exception after successful authentication


0 Kudos
Reply

488 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @melaghil 

Could you share your code with us? Let us check if there is something happens.

0 Kudos
Reply