com.ftsafe.readerScheme.FTException: err : 612 - FTReaderAPI library does not work
mjiricek opened this issue · 7 comments
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.
Is this issue happends on each read ?
Also on 2.25 firmware reader ?
@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.
@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
@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.
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.
@richard605 Did you manage to reproduce the issue?
Any update?