skjolber / external-nfc-api

Interaction with external NFC readers in Android
Apache License 2.0
180 stars 42 forks source link

How can we modify library to accommodate newer ACR1552U reader? #30

Open derrickrc opened 1 month ago

derrickrc commented 1 month ago

Hello, thank you for this library. We are interested in incorporating the newer ACR1552U reader as it has a more handsome enclosure and better LED (default is blue, vs. red). The buzzer is also better / quieter as well.

https://www.acs.com.hk/en/products/575/acr1552u-usb-nfc-reader-iv/

I tried this model with the existing library, but it's not detected as a device. If you are able to provide guidance on how we could incorporate this newer device, we're happy to try and contribute to this library. Thank you.

skjolber commented 1 month ago

Hi @derrickrc, each reader needs its own adapter, since command and capabilities vary from reader to reader. See for example the readers here.

Just out or curiosity, would you not rather use android-nfb-lib; adding support there?

I am going to order an ACR1552U for testing.

derrickrc commented 1 month ago

@skjolber thanks for the quick response! My teammate originally started building using this library, let me see if we can migrate to the newer one since that one seems to be more up to date.

Please let me know how you go with the ACR1552U and if there's anything we can do to help, and in the meantime we will work to switch to the android-nfc-lib library.