libnfc is a library which allows userspace application access to NFC devices.
Important note: this file covers POSIX systems, for Windows please read README-Windows.md
Some NFC drivers depend on third party software:
- pcsc:
- Support build with pcsc driver, which can be using all compatible readers, Feitian R502 and bR500 already passed the test.
Note: If working directly from a git clone of the repository, some of the files need to be generated first. To do this run autoreconf -vis
The build should be as simple as running these commands:
To build with specific driver(s), see option --with-drivers=...
detailed in ./configure --help
.
You may need to grant permissions to your user to drive your device. Under GNU/Linux systems, if you use udev, you could use the provided udev rules. e.g. under Debian, Ubuntu, etc.
Under FreeBSD, if you use devd, there is also a rules file: contrib/devd/pn53x.conf.
https://hub.fastgit.xyz/nfc-tools/libnfc
Original: https://www.cnblogs.com/jiftle/p/16508361.html
Author: jiftle
Title: libnfc库
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/552199/
转载文章受原作者版权保护。转载请注明原作者出处!