Comments (9)
Thanks for your feedback, our engineer working to have check this issue, we will get back to you very soon, keep in touch,
from feitian_mobile_readers.
@dfyx did you set reader delegate? in the latest lib, it supports Bluetooth 3.0, Bluetooth Smart and lightning based readers. so in your application, please make sure you did below work:
- Add corebluetooth framework for Bluetooth smart device, and add ExtrnalAccessory framework for lightning and Bluetooth 3.0 readers.
- Set the reader delegate, the API can find in ReaderInterface.h
- Call setDeviceType API to set the reader type, if your reader is bR301 with Blue casing, use IR301_AND_BR301
typedef enum FTDEVICETYPE{
EMPTY_DEVICE = 0, // The reader will scan in background automatically, until find the device and then use this type by default
IR301_AND_BR301 = 1, // for lightning and Bluetooth 3.0 readers
BR301BLE_AND_BR500 = 2, //For Bluetooth Smart readers
}FTDEVICETYPE;
- Call SCardEstablishContext and SCardListReaders to list your reader and connect it
We provide demo source code, can find in SDK:
https://github.com/FeitianSmartcardReader/FEITIAN_MOBILE_READERS/tree/master/iOS_SDK/demo
There have a version already in Appstore, you can download and have a test too.
https://itunes.apple.com/us/app/smartcard-reader/id525954151?mt=8
smartcard-reader source code: https://github.com/FeitianSmartcardReader/FEITIAN_MOBILE_READERS/tree/master/iOS_SDK/demo/iReader_Appstore
Please take a test, any questions, contact me anytime, thanks
from feitian_mobile_readers.
@dfyx do you still have issue on this topic? thanks and looking forward your reply,
from feitian_mobile_readers.
Sorry, can't test it right now as I'm in home office for the next few weeks because of Corona. I'll get back to you as soon as I'm at the office again. For now we resolved the problem by downgrading back to 1.32.3 and it appears to work.
from feitian_mobile_readers.
Noted, will keep this open status until have your test result, thanks and take care,
from feitian_mobile_readers.
Better late than never:
It was a bit tricky to get it working with C# but now I can at least get it to read my card most of the time. Now I occasionally get SCARD_E_READER_UNSUPPORTED
when calling SCardConnect
which to my knowledge has never happened before. Feels strange because that should only depend on the reader, not on how I'm talking to it.
from feitian_mobile_readers.
@dfyx with bR301BLE and bR500(Bluetooth smart), the reader name is FT_XXXXXXXXXX(which is the name of Bluetooth reader), did you input the right name?
from feitian_mobile_readers.
I did and as said, it only happens occasionally. In my last test it happened when I read the same card with the same reader for the fourth time in a row. So maybe it has something to do with not freeing some handles correctly, I'm not sure.
Edit: once it happens, I can only fix it by restarting my app which would confirm that there are some dangling handles.
from feitian_mobile_readers.
Alright, my last problem seems to have been a race condition in my app that caused it to not always wait for the callback. It's fixed now. Thanks a lot for your support.
from feitian_mobile_readers.
Related Issues (20)
- PLEASE FIX CRASH BUG IN FTReaderAPI, in method com.ftsafe.comm.bt4.BT4.ft_find() HOT 1
- CRASH BUG IN FTReaderAPI, in method com.ftsafe.comm.bt4.BT4.BlueToothRead() - OutOfMemoryError HOT 19
- PCSC API, FT_SCardListReaders always returns SCARD_E_NO_READERS_AVAILABLE after FT_SCardConnect is called HOT 2
- FT_SCardListReaderGroups: Can not find the bR301 readers HOT 6
- mFtReader.readerPowerOn(0) creates : java.lang.NoSuchMethodError: no non-static method "Lcom/ftsafe/comm/CommBase;.getDevType()I HOT 2
- Getting error when using FT SDK in Android app HOT 1
- getting PendingIntent Flag error in Android 12 (31 or above) HOT 5
- Multiple reader usage on Android 9 HOT 2
- Release Notes for iOS Library v3.5.64 HOT 1
- Visual Studio Xamarin Forms example request HOT 6
- Does iOS SDK support frameworks? HOT 8
- com.ftsafe.readerScheme.FTException: err : 612 HOT 15
- Use Feitian library on mac os platform HOT 4
- Need updates and documentation on Android 13 (SDK 33) HOT 5
- FTException: err : 612 with some of the cards HOT 5
- Problem with new SDK (on android) and readers with fimware 1.10 HOT 33
- Connect with specific BLE301 reader only via (BOOL)connectPeripheralReader:(NSString *)readerName timeout:(float)timeout; HOT 12
- Uncatchable internal lib crash black micro usb ble301 for combination 2.0.1.3 & USB\VID_096E&PID_0624&REV_0112 HOT 4
- com.ftsafe.readerScheme.FTException: err : 612 - FTReaderAPI library does not work HOT 7
- Cannot connect to Feitian bR301 BLE on Android HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feitian_mobile_readers.