nfc-pcsc icon indicating copy to clipboard operation
nfc-pcsc copied to clipboard

Is that possible add Feitian R502?

Open FeitianSmartcardReader opened this issue 5 years ago • 4 comments

Hi Martin

Good to see this repo.

Is that possible support Feitian R502 reader? I can share our demo unit for evaluation, and our engineer also can support on this.

Thanks and looking forward your reply.

FeitianSmartcardReader avatar Dec 20 '18 13:12 FeitianSmartcardReader

BTW, if we do it successful on pc. Then I should talk to our mobile engineer add it on mobile side too.

Thanks

FeitianSmartcardReader avatar Dec 20 '18 13:12 FeitianSmartcardReader

@pokusew is possible to have your contact mail? just want to share hardware samples to you for evaulation, thanks,

On other hand, our engineer will have a check the exist function and make fully test, if it works, then we will suggestion our customer using your framework, thanks

You can send mail to [email protected]

FeitianSmartcardReader avatar Jan 07 '19 05:01 FeitianSmartcardReader

Hi @FeitianSmartcardReader,

Thanks for reaching out to me. Sorry for not replying earlier. I've been very busy recently.

nfc-pcsc supports all PC/SC compliant devices. Most of them should work out of the box. 🙂

However, the structure of APDU commands for reading, writing, etc. can sometimes vary reader by reader. nfc-pcsc implements the APDU commands according to the ISO/IEC 14443-3,4 specs and with some changes and additional commands from ACR122U API. This makes it compatible (or at least work) with most of the NFC readers.

Fortunately, support for other readers (including implementation of all their specific commands) can be added very easily by subclassing the basic Reader class.

I am happy to add support for Feitian R502, too. 🙂

Could you please provide some API docs (e.g. like ACR122U API)? I found the SDK that contains EN_R502_User_Manual_v1.4.pdf but it doesn't contain any commands.

A Feitian R502 sample would be very helpful for testing. 👍 I've sent you an e-mail to [email protected] so we can discuss delivery details over e-mail. Thanks.

Further, I'd like to clarify that the mobile support is virtually impossible. nfc-pcsc uses Node Native Modules to access system PC/SC API (actually under the hood, the pcsclite native binding is implemented in @pokusew/pcsclite, which is a forked and improved version of the great santigimeno's pcsclite lib). So the Node.js runtime and PC/SC API are required for nfc-pcsc to run. That makes it possible to use it on the most of OS (Windows, macOS, Linux) directly in Node.js or in Electron.js and NW.js desktop apps.

Hope I clarified a few things a bit. 🙂

Looking forward to hearing from you.


PS Please keep all the communication related to the implementation and the API docs here on GitHub, so that others can benefit from that too. Thanks. 😉

pokusew avatar Jan 10 '19 21:01 pokusew

Got you, we simulate the pcsclite on iOS and Android, so we should find a way to implement the same function on our SDK.

Let's focus on the current PC support, after our engineer will do more research on mobile side, keep in touch, ;-)

FeitianSmartcardReader avatar Jan 14 '19 06:01 FeitianSmartcardReader