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

com.ftsafe.readerScheme.FTException: err : 612 - FTReaderAPI library does not work #48

Open
mjiricek opened this issue Mar 4, 2024 · 7 comments

Comments

@mjiricek
Copy link

mjiricek commented Mar 4, 2024

Hi,

I'm trying to migrate from BR500_AND_BR301BLE_V4.0.6_RELEASE.jar to FTReaderAPI_2.0.1.3.jar. In the new version (2.0.1.3) I got this error:

readerXfr_index ====== :0
onResult=======================128
onResult=======================128
recvHead===============:
BT4_BlueToothRead()_len==============:2
BT4_BlueToothRead()_readDataBuffLen==============:12
onResult=======================128
onResult=======================128
recvHead===============:
BT4_BlueToothRead()_len==============:0
BT4_BlueToothRead()_readDataBuffLen==============:10
com.ftsafe.readerScheme.FTException: err : 612
at com.ftsafe.comm.CommBase.readerXfrBlock(CommBase.java:401)
at com.ftsafe.readerScheme.FTReader.readerXfr(FTReader.java:128)

I also got the same error in version 1.0.9.6... What does error 612 mean?
I have these BT readers:

Tested on Huawei Mate 20 Pro with Android 9 and EMUI 9.1.0.

Thanks in advance for trying to help me solve this problem.

@Stunc0
Copy link

Stunc0 commented Mar 4, 2024

Is this issue happends on each read ?
Also on 2.25 firmware reader ?

@richard605
Copy link
Contributor

@mjiricek Sorry for your inconvenience.
The error code 612 could be output in several routines. It needs to be investigated by team.
May I know when migrate project code, did you refer to the iReader demo project code?
Here is the demo project code: https://github.com/FeitianSmartcardReader/FEITIAN_MOBILE_READERS/tree/master/Android_SDK/iReader, please have a reference.
Also, my email address is: richard@ftsafe.com, please feel free to contact with me.

@mjiricek
Copy link
Author

mjiricek commented Mar 5, 2024

@richard605 Yes, I used the demo project code to migrate the libraries.
@Stunc0 No, before this issue a I send several instructions to the card successfully. The error occurred on both readers (FW 2.25, FW 1.10) when I used library 1.0.9.6. When I used library 2.0.1.3, I got another error on the reader with FW 1.10

@richard605
Copy link
Contributor

@mjiricek sorry to hear that. Since it is an old model, and we don't have any in stock, I am trying to manage to find one same reader with bluetooth firmware 1.1.00, but I can't find one by now. Let me talk with team what we can do next.

@Stunc0
Copy link

Stunc0 commented Mar 5, 2024

@mjiricek

When I used library 2.0.1.3, I got another #47 on the reader with FW 1.10

Yes, readers with FW 1.10 not working with this SDK version...

@richard605 , Ask to Ben from Feitian, but it's possible we give him some of them (FW 1.10) during our meeting in France.
And we have some of them to exchange as well.

@mjiricek
Copy link
Author

@richard605 Did you manage to reproduce the issue?

@mjiricek
Copy link
Author

Any update?

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

3 participants