GeZhi Electronic Co.Ltd.

GeZhi Electronic Co.Ltd.

Products Category
Contact Us

Name: Michael
Tel: +86-13113330725
Fax: +86-13113330725
Mobile: +86-13113330725
E-mail: xfpga@hotmail.com
Add: JinKe industry DaShi PanYu District GuangZhou City China
MSN: xfpga@hotmail.com
Skype: gezhitech007
QQ: 1074079485
MSN: xfpga@hotmail.com SKYPE: gezhitech007 QQ: 1074079485

compile libnfc for pn532 breakout board

Author : xfpga Date : 2012-12-13 14:27:46
compile libnfc for pn532 breakout board

Step 1: Download the latest version of libnfc (ex. "libnfc-1.4.1.tar.gz") and extract the contents

$ wget http://libnfc.googlecode.com/files/libnfc-x.x.x.tar.gz
$ tar -xvzf libnfc-x.x.x.tar.gz
$ cd libnfc-x.x.x

Step 2: Configure libnfc for PN532 and UART*

$ ./configure --with-drivers=pn532_uart --enable-serial-autoprobe

*Note: libnfc can also be built in debug mode by adding '--enable-serial-autoprobe' (minus the single quotes) to the configure options



Step 3: Build and install libnfc

$ make clean
$ make
$ make install


Step 4: Check for installed devices

$ cd examples
$ ./nfc-list



Step 5: all the commands on example and util directory