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

Is that possible add Feitian R502? #58

Open
FeitianSmartcardReader opened this issue Dec 20, 2018 · 4 comments
Open

Is that possible add Feitian R502? #58

FeitianSmartcardReader opened this issue Dec 20, 2018 · 4 comments
Assignees

Comments

@FeitianSmartcardReader
Copy link

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
Copy link
Author

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

Thanks

@pokusew pokusew self-assigned this Dec 27, 2018
@FeitianSmartcardReader
Copy link
Author

FeitianSmartcardReader commented Jan 7, 2019

@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]

@pokusew
Copy link
Owner

pokusew commented Jan 10, 2019

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. 😉

@FeitianSmartcardReader
Copy link
Author

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, ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants