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

acr122 conf #713

Open
achillealb opened this issue Feb 16, 2024 · 1 comment
Open

acr122 conf #713

achillealb opened this issue Feb 16, 2024 · 1 comment

Comments

@achillealb
Copy link

How to set:
My first device acr122 ?

My device acr122_usb
nfc-list uses libnfc 1.8.0
NFC device: ACS / ACR122U PICC Interface opened

sudo mkdir -p /etc/nfc/devices.d
printf 'name = "My first device"\nconnstring = "pn532_uart:/dev/ttyACM0"\n' | sudo tee /etc/nfc/devices.d/first.conf
printf 'name = "My second device"\nconnstring = "pn532_uart:/dev/ttyACM1"\n' | sudo tee /etc/nfc/devices.d/second.conf

@achillealb
Copy link
Author

is right:
printf 'name = "My first device"\nconnstring = "acr122_usb:/dev/ttyACM0"\n' | sudo tee /etc/nfc/devices.d/first.conf
printf 'name = "My second device"\nconnstring = "acr122_usb:/dev/ttyACM1"\n' | sudo tee /etc/nfc/devices.d/second.conf

log:
debug libnfc.general 0 device(s) found using pn532_uart driver
debug libnfc.driver.acr122s Trying to find ACR122S device on serial port: /dev/ttyS3 at 9600 baud.
debug libnfc.driver.acr122s Trying to find ACR122S device on serial port: /dev/ttyS2 at 9600 baud.
debug libnfc.driver.acr122s Trying to find ACR122S device on serial port: /dev/ttyS1 at 9600 baud.
debug libnfc.driver.acr122s Trying to find ACR122S device on serial port: /dev/ttyS0 at 9600 baud.
debug libnfc.general 0 device(s) found using ACR122S driver
debug libnfc.driver.acr122_usb device found: Bus 002 Device 003 Name ACS ACR122
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.acr122_usb 3 element(s) have been decoded from "acr122_usb:002:003"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 00 00 01 00 00
debug libnfc.driver.acr122_usb RX: 80 02 00 00 00 00 00 00 81 00 3b 00
debug libnfc.driver.acr122_usb ACR122 PICC Operating Parameters
debug libnfc.driver.acr122_usb TX: 6f 05 00 00 00 00 00 00 00 00 ff 00 51 00 00
debug libnfc.driver.acr122_usb RX: 80 02 00 00 00 00 00 00 81 00 90 00
debug libnfc.chip.pn53x GetFirmwareVersion
debug libnfc.driver.acr122_usb TX: 6f 07 00 00 00 00 00 00 00 00 ff 00 00 00 02 d4 02
debug libnfc.driver.acr122_usb RX: 80 08 00 00 00 00 00 00 81 00 d5 03 32 01 06 07 90 00
debug libnfc.chip.pn53x SetParameters
debug libnfc.driver.acr122_usb TX: 6f 08 00 00 00 00 00 00 00 00 ff 00 00 00 03 d4 12 14
debug libnfc.driver.acr122_usb RX: 80 04 00 00 00 00 00 00 81 00 d5 13 90 00
debug libnfc.general "ACS / ACR122U PICC Interface" (acr122_usb:002:003) has been claimed.
debug libnfc.general set_property_bool NP_ACTIVATE_FIELD False
debug libnfc.chip.pn53x ReadRegister

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