ehkom / libnfc Goto Github PK
View Code? Open in Web Editor NEWLibnfc with RC522 driver
License: GNU Lesser General Public License v3.0
Libnfc with RC522 driver
License: GNU Lesser General Public License v3.0
Hello,
I can't compile your libnfc with make or cmake.
Moreover, I don't find the INSTALL file.
I would like some help please.
Thank you.
Is this driver supposed to work or is it work in progress? (USART mode)
Hi!
I reviewed both this fork and @socram8888 's pull request.
Fixed building with cmake, see my repo
Still attempring to run yields disappointing results:
$ LIBNFC_LOG_LEVEL=3 ./nfc-anticol
info libnfc.config Unable to open file: /etc/nfc/libnfc.conf
debug libnfc.config key: [device.allow_autoscan], value: [false]
info libnfc.config Unknown key in config line: device.allow_autoscan = false
debug libnfc.config key: [device.log_level], value: [3]
info libnfc.config Unknown key in config line: device.log_level = 3
debug libnfc.config key: [device.name], value: [MFRC522]
debug libnfc.config key: [device.connstring], value: [rc522_uart:/dev/ttyUSB0]
debug libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 1 device(s) defined by user
debug libnfc.general #0 name: "MFRC522", connstring: "rc522_uart:/dev/ttyUSB0"
debug libnfc.driver.rc522_uart Attempt to open: /dev/ttyUSB0.
debug libnfc.driver.rc522_uart Attempting to establish a connection at 9600 bps.
debug libnfc.bus.uart Serial port speed requested to be set to 9600 baud.
debug libnfc.bus.uart TX: b7
debug libnfc.bus.uart RX: 12
debug libnfc.chip.rc522 RD 37: 12
debug libnfc.chip.rc522 Aborting self test for unknown version 12.
debug libnfc.bus.uart TX: 01
debug libnfc.bus.uart RX: 01
debug libnfc.bus.uart TX: 2f
debug libnfc.chip.rc522 WR 01: 2f
debug libnfc.driver.rc522_uart Restoring baud rate to default of 9600 bps.
debug libnfc.bus.uart Serial port speed requested to be set to 9600 baud.
debug libnfc.bus.uart TX: 81
debug libnfc.bus.uart RX: 20
debug libnfc.chip.rc522 RD 01: 20
debug libnfc.driver.rc522_uart Upgrading baud rate to user-specified 115200 bps.
debug libnfc.bus.uart Serial port speed requested to be set to 115200 baud.
debug libnfc.bus.uart TX: 1f
debug libnfc.bus.uart RX: 00
debug libnfc.driver.rc522_uart rc522_uart_write ack does not match (sent 1F, received 00)
error libnfc.chip.rc522 Unable to write register 1F!
debug libnfc.driver.rc522_uart Attempting to establish a connection at 115200 bps.
debug libnfc.bus.uart Serial port speed requested to be set to 115200 baud.
debug libnfc.bus.uart TX: b7
debug libnfc.bus.uart RX: 00
debug libnfc.chip.rc522 RD 37: 00
debug libnfc.chip.rc522 Aborting self test for unknown version 00.
debug libnfc.bus.uart TX: 01
debug libnfc.bus.uart RX: 00
debug libnfc.driver.rc522_uart rc522_uart_write ack does not match (sent 01, received 00)
error libnfc.chip.rc522 Unable to write register 01!
debug libnfc.driver.rc522_uart Could not connect with RC522 at 9600 or 115200 bps.
debug libnfc.bus.uart TX: 01
debug libnfc.bus.uart RX: 00
debug libnfc.driver.rc522_uart rc522_uart_write ack does not match (sent 01, received 00)
error libnfc.chip.rc522 Unable to write register 01!
debug libnfc.general Unable to open "rc522_uart:/dev/ttyUSB0".
nfc-anticol: ERROR: Error opening NFC reader
This is the current state of the port, right?
hi...
how can i use libnfc and MFCUK with RC522 module?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.