libnfc is a platform-independent library to use physical NFC readers. It can be used to read and modify contents of a NFC tag, and also serves as a base for other projects like MFOC (https://code.google.com/p/mfoc/) or MFCUK (https://code.google.com/p/mfcuk/)
This package is already available in Linux distributions like Debian (https://packages.debian.org/source/jessie/libnfc), Ubuntu (http://packages.ubuntu.com/source/trusty/libnfc), Fedora (https://apps.fedoraproject.org/packages/libnfc), etc... The library has been split in three parts: runtime library (only the DLL), -dev (with headers and pkg-config files), and a third one which include some tools that are compiled as part of libnfc compilation but are not required for libnfc to work. Their setup.hints are: For "libnfc" package: category: Libs requires: libusb0 sdesc: "Public platform-independent Near Field Communication (NFC) library (runtime)" ldesc: "libnfc is the first libre low-level NFC SDK and Programmers API released under the GNU Lesser General Public License. It provides complete transparency and royalty-free use for everyone." For "libnfc-dev" package: category: Libs Devel requires: libnfc libusb-devel sdesc: "Public platform-independent Near Field Communication (NFC) library (development)" ldesc: "libnfc is the first libre low-level NFC SDK and Programmers API released under the GNU Lesser General Public License. It provides complete transparency and royalty-free use for everyone." external-source: libnfc For "nfc-utils" package: category: Utils requires: libnfc sdesc: "Utilities to interact with NFC devices" ldesc: "This package contains several utilities to detect, read and write NFC devices. Amongst other, some utilities contained in this package are: nfc-jewel, nfc-list, nfc-mfclassic, nfc-mfultralight, nfc-read-forum-tag3, nfc-emulate-forum-tag4, nfc-relay-picc and nfc-scan-device." external-source: libnfc (These .hint files were automatically generated by cygport) A pre-compiled binary (extracted from cygport's resulting "dist" folder) is available here: http://webs.ono.com/socram8888/cygwin/libnfc/ Resulting binary has been tested to work using a CP2102 USB-serial adapter and a PN532 RFID reader. -- Marcos Vives Del Sol https://github.com/socram8888 miniLock: NscWdW8fh2E5SBoRtrnXWrDwmQmwaR5awMKE78tQW1Ffx