Android SDK Incomplete response Exception

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Android SDK Incomplete response Exception

569 次查看
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.



标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

526 次查看
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 项奖励
回复

522 次查看
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 项奖励
回复

489 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @melaghil 

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

0 项奖励
回复