FeitianSmartcardReader / FEITIAN_MOBILE_READERS

This is first Combo SDK, support bR301,iR301,bR301BLE,bR500
http://www.pcscreader.com/docs/getting_started.html
24 stars 13 forks source link

Problem with new SDK (on android) and readers with fimware 1.10 #45

Open Stunc0 opened 1 year ago

Stunc0 commented 1 year ago

Hi,

i have done ReactNative plugin to use the new SDK, it looks like it works well but when i want to connect to old reader with firmware 1.10. The app crashed instantly when it connects to reader. So i tried with your exemple demo app and found that the demo app has some trouble as well with this firmware. All actions spent a lot of time to be doneand sometimes the app freeze.

Is it possible to review and recheck if it can work well or if there is memory issue (or something other) on these readers ?

Best regards. (Nicolas from HM France)

FeitianSmartcardReader commented 1 year ago

Let me forward to our engineer. We will get back to you soon.  Do you have log for this?Thanks From Ben’s Mobile PhoneOn Aug 1, 2023, at 20:50, nma @.***> wrote: Hi, i have done ReactNative plugin to use the new SDK, it looks like it works well but when i want to connect to old reader with firmware 1.10. The app crashed instantly when it connects to reader. So i tried with your exemple demo app and found that the demo app has some trouble as well with this firmware. All actions spent a lot of time to be doneand sometimes the app freeze. Is it possible to review and recheck if it can work well or if there is memory issue (or something other) on these readers ? Best regards. (Nicolas from HM France)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Stunc0 commented 1 year ago

Hello Ben, No log for moment :/ It crashs instantly on my plugin. But if you test with your last exemple app and a reader with 1.10 firmware, you'll see that the app become very slow. Hope you have one with this firmware version. Nico.

FeitianSmartcardReader commented 1 year ago

@Stunc0 Which reader did you use when crashing happened? Can you provide the reader PID/VID/REV for this device in the device manager? Thx.

FeitianSmartcardReader commented 1 year ago

@Stunc0 which Android SDK version do you use? 1.0.9.6 or 2.0.1.3?

Stunc0 commented 1 year ago

Hi, SDK version: 2.0.1.3 (i'm don't think that the problem occured with the 1.0.9.6 version) Reader's informations (BR301):

FeitianSmartcardReader commented 1 year ago

@Stunc0 Thank you for feedback. For the PID/VID/REV info, please check the following picture to get them. device manager

FeitianSmartcardReader commented 1 year ago

Hi, SDK version: 2.0.1.3 (i'm don't think that the problem occured with the 1.0.9.6 version) Reader's informations (BR301):

  • firmware version : 1.10
  • serial number: 35B688B10600001B
  • Bluettooth version: 1.1.00
  • UID:

@Stunc0 So it can work well when use 1.0.9.6 version SDK on the old firmware version bR301 reader, but upgrade to 2.0.1.3 it crashes on that old reader, Right?

Stunc0 commented 1 year ago

@Stunc0 So it can work well when use 1.0.9.6 version SDK on the old firmware version bR301 reader, but upgrade to 2.0.1.3 it crashes on that old reader, Right?

@FeitianSmartcardReader , Yes that's right .

Capture d'écran 2023-08-17 104433

FeitianSmartcardReader commented 1 year ago

@Stunc0 Thank you, let me forward these info to our R&D and keep you update.

Stunc0 commented 1 year ago

@FeitianSmartcardReader ok thanks.

richard605 commented 1 year ago

Hi @Stunc0 , our R&D got a bR301FC4, we downgrade its firmware to 1.10, but no crash or slow response occurs by using 2.0.1.3 iReader demo app.

The other hand, our bR301FC4 latest firmware version is 1.14, so would you please test same scenario using the latest firmware. You can update the firmware by using the manual here, in chapter 4 of : https://github.com/FeitianSmartcardReader/BR500_AND_BR301BLE_SDK_Latest

richard605 commented 1 year ago

and the latest firmware is here: https://github.com/FeitianSmartcardReader/BR500_AND_BR301BLE_SDK_Latest/tree/master/Tools/Update%20Tool/bR301BLE

Stunc0 commented 1 year ago

Hi @richard605, @FeitianSmartcardReader it sounds weird... Do you have the same Bluettooth version ? => for me: 1.1.00

Other issue: I just check with the IOS demo app and when i connect lastest blue reader bR301 with big battery) firmware 2.25, sometimes the reader disconnect after few seconds. Is the IOS SDK updated for latests readers ?

richard605 commented 1 year ago

@Stunc0 The bR301FC4 with 1.1.00 version bluetooth firmware is old product which was firstly released in Aug 2017. We already don't have any stock.

So i tried with your example demo app and found that the demo app has some trouble as well with this firmware.

Can you please do some test operation with our example demo app with your card, and when the problem (such as become very slow or crash or other situation) happens, then send the log to us, in the iReader demo app ?

Please Use the example app in: (which uses 2.0.1.3 SDK) https://github.com/FeitianSmartcardReader/FEITIAN_MOBILE_READERS/blob/master/Android_SDK/iReader/BIN/iReader_1.0.1_20230424.apk

Stunc0 commented 1 year ago

@richard605 i just sent the log from demo app. But not sure there is something to help you in... Other question: is the IOS SDK is up to date in the repo ? Cause with the IOS SDK and demo app, i got some troubles to connect with latest reader in 2.25 ... The app connects to the reader and the reader disconnect immediatly after.

Stunc0 commented 1 year ago

@richard605 @FeitianSmartcardReader , any news about my last message ?

richard605 commented 1 year ago

@Stunc0 May I know your iOS device and iOS system version?

Stunc0 commented 1 year ago

@richard605 It's on an iphone 6. And the version is 12.5.7

richard605 commented 1 year ago

Thx, let me try to reproduce and back to you

richard605 commented 1 year ago

Other question: is the IOS SDK is up to date in the repo ? Cause with the IOS SDK and demo app, i got some troubles to connect with latest reader in 2.25 ... The app connects to the reader and the reader disconnect immediately after.

And can you please retry this on the demo app, and this time please send the log mail to richard@ftsafe.com. Thank you very much.

Stunc0 commented 1 year ago

@richard605 i just sent a log from iphone now ;)

richard605 commented 1 year ago

@Stunc0 thanks a lot, I noted the email with logs in attachment. Was the log saved after the "got some troubles to connect with latest reader in 2.25 ..." issue occur?

richard605 commented 1 year ago

@Stunc0 And for the 2.25 reader, please also let me know the PID info for a check.

Check_VID_PID_REV

Stunc0 commented 1 year ago

@Stunc0 thanks a lot, I noted the email with logs in attachment. Was the log saved after the "got some troubles to connect with latest reader in 2.25 ..." issue occur?

@richard605 yes it's a 2.25.

Capture d'écran 2023-09-12 100754

richard605 commented 1 year ago

Hi @Stunc0 Have you tried the bluetooth reader in Android iReader demo app? Does it appear like "disconnect immediately after" on iOS?

Stunc0 commented 11 months ago

Hi @Stunc0 Have you tried the bluetooth reader in Android iReader demo app? Does it appear like "disconnect immediately after" on iOS?

I just tried on android, same thing. When i connect to an ble reader with 1.10 firmware, it connects slowly, then a i go to Info(in the app to check reader info, it opens very slowly and then crashed after many seconds...

We really need to find a solution cause we got custommers on older reader (firmware < 1.14) and we cannot offer to them a solution if we upgrade the SDK to take in account new usb IR301 readers..

Stunc0 commented 11 months ago

Someone is there ?

FeitianSmartcardReader commented 11 months ago

Hi @Stunc0 , sorry for the late reply. Team still in investigation with this issue. Will back to you once progress updated. Thanks.

mjiricek commented 7 months ago

Any update?

Stunc0 commented 7 months ago

Any update?

The last time i had Feitian's support, they were still investigating on that :/

mjiricek commented 7 months ago

I hope this problem will get fixed soon. It's a blocker for me.

richard605 commented 7 months ago

@Stunc0 Sorry for the late reply. I'm still keeping following up this issue with team, they in a very urgent project, will back to contine the investigation after that. Here is the newest sdk version with some minor fixes, https://docs.ftsafe.cn/s/etwfnRmEfoAZK8B, please check if the issue still happen in this version. And feel free to continue contact with me (richard@ftsafe.com)

mjiricek commented 7 months ago

Missing JNI libraries