Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTException: err : 612 with some of the cards #44

Open
JasKuus opened this issue Jun 21, 2023 · 5 comments
Open

FTException: err : 612 with some of the cards #44

JasKuus opened this issue Jun 21, 2023 · 5 comments

Comments

@JasKuus
Copy link

JasKuus commented Jun 21, 2023

Hi,

I get an exception
com.ftsafe.readerScheme.FTException: [ERROR]
[com.ftsafe.readerScheme.FTReader:readerPowerOn][err : 612]
[com.ftsafe.readerScheme.FTException: err : 612]
when I try to power on a card.

I am using your library FTReaderAPI_1.0.9.6.jar in my Android application.

This problem occurs with Feitian bR301 reader (151015AA00065H) both with USB and Bluetooth modes.

Power on fails only when I am using our own cards. Cards made by another organization works fine with this reader. I have no problems with our own test cards when I am using readers from other manufacturers (for example ACS). So the Feitian reader should be fine as it works with the other cards. And our own cards should be fine as they work with other readers. Maybe your library is not parsing the ATR from our own cards correctly?

Own card ATR (This does not work):
3B 9F 95 81 31 FE 9F 00 66 46 53 05 10 00 FF 71 DF 00 00 00 00 00 EC
JavaCOS A22 dual interface Java card - 150K (JavaCard)
(ATR got with winscard SCardStatus function: 3B 9F 95 81 31 FE 9F 00 66 46 53 05 10 00 FF 71 DF 00 00 00 00 00 EC FF 03 00 00 00 AE B4 D2 01, last bytes are some extra bytes?)

Card made by another organization, ATR (This works):
3B DD 96 00 80 31 FE 45 00 31 B8 64 04 29 EC C1 73 94 01 80 82 48
Finnish Digital and Population Services Agency Organisation Card (eID)
(ATR got with winscard SCardStatus function: 3B DD 96 00 80 31 FE 45 00 31 B8 64 04 29 EC C1 73 94 01 80 82 48 FF FF 03 00 00 00 AE B4 D2 01, last bytes are some extra bytes?)

@FeitianSmartcardReader
Copy link
Owner

thanks for your feedback, our engineer is on holiday now, he will back to you next Monday, thanks

@FeitianSmartcardReader
Copy link
Owner

@JasKuus 612 indicates it is a IFD_COMMUNICATION_ERROR, would you please check your reader's firmware version. The attached screenshot shows you how to get the firmware version.

145382918-c4e1a246-d4a2-4f53-b3d4-2fc02d7d7828

And use this tool to try to power on the card, when the issue occurs, tap the "Log“ on the top left of App screen, and send mail to me: richard@ftsafe.com.
https://github.com/FeitianSmartcardReader/FEITIAN_MOBILE_READERS/blob/master/Android_SDK/iReader/BIN/iReader_1.0.1_20230424.apk

@JasKuus
Copy link
Author

JasKuus commented Jun 26, 2023

Here is the reader's firmware version:

Feitian_reader-firmware_version

I have sent you the log via email.

@FeitianSmartcardReader
Copy link
Owner

@JasKuus Thank you, I'll let our R&D team to check this issue and back to you asap.

@FeitianSmartcardReader
Copy link
Owner

@JasKuus Hi, please use our latest Android SDK lib and demo, the FTReaderAPI updated to 2.0.1.3, in iReader/Lib.
The link is: https://github.com/FeitianSmartcardReader/FEITIAN_MOBILE_READERS/tree/master/Android_SDK/iReader.
If the problem still persists, please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants