Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 840 Bytes

COMPILING.md

File metadata and controls

29 lines (21 loc) · 840 Bytes

macOS

xcode-select --install
brew install libnfc libfreefare libgcrypt openssl@1.1 pkgconfig cmake
mkdir build
cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ..

USB-to-UART

Using a UART PN532 breakout with a USB-to-UART converter? Install the appropriate driver (check System Profiler for the device manufacturer):

Testing Setup

Running nfc-list should show:

nfc-list uses libnfc 1.7.1
NFC device: pn532_uart:/dev/tty.SLAB_USBtoUART opened

Or something similar, depending on your NFC reader.

Running nfc-poll and presenting a tag to the reader should print some metadata for the tag.