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

Replace libnfc with Go library #143

Open
3 tasks
wizzomafizzo opened this issue Jan 1, 2025 · 0 comments
Open
3 tasks

Replace libnfc with Go library #143

wizzomafizzo opened this issue Jan 1, 2025 · 0 comments

Comments

@wizzomafizzo
Copy link
Member

Long term goal, get rid of libnfc. This would greatly simplify the build process. libnfc works well enough but it's effectively abandoned and does a lot of stuff we don't use.

  • Create a Go acr122_usb reader driver. No idea how this works in libnfc yet but the acr122 is also pn532 based so it might be easy
  • Create a Go pn532_i2x reader driver. Besides it being i2c, communication with the pn532 is identical to uart, so this may be as simple as abstracting the existing pn532_uart go code
  • Improve the pn532_uart reader driver. The existing driver works but it's certainly not as robust and smooth as the libnfc one. It needs much tighter timing, mifare classic support, write support and better handling of edge cases. This has to happen no matter what since this driver is what's used on the windows platform
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

1 participant