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

Help with SPI and I2C connected PN532 reader #101

Open
ronie19 opened this issue Aug 2, 2020 · 5 comments
Open

Help with SPI and I2C connected PN532 reader #101

ronie19 opened this issue Aug 2, 2020 · 5 comments

Comments

@ronie19
Copy link

ronie19 commented Aug 2, 2020

Is this compatible with PN532 reader connected by SPI/I2C ?
Or only USB devices ?

@timonsku
Copy link

You would have to implement the PCSC API which this package is using to talk to NFC readers. This is unlikely to be worth it, you will wanna directly talk to your reader.

@ronie19
Copy link
Author

ronie19 commented Sep 23, 2020

You would have to implement the PCSC API which this package is using to talk to NFC readers. This is unlikely to be worth it, you will wanna directly talk to your reader.

Any possible ways of doing that ? I am trying to get it recognised by pcsc_scan command in terminal. But no way I am able to get it via spi. I am only able to operate it with libnfc.

@timonsku
Copy link

To be fair, if you are unsure on how to approach that the task of implementing a pcsc driver is probably too much.
libnfc already allows you to interact with the NFC reader and access all its functionality. I would suggest you use that to integrate with your application.

@jonasclaes
Copy link

ifdnfc is your solution

@ronie19
Copy link
Author

ronie19 commented Jan 13, 2022

ifdnfc is your solution

Yes, I did it. However it worked with 64-bit linux due to buffer length issues in 32-bit linux

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

No branches or pull requests

3 participants