compile libnfc for pn532 breakout board
$ 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


没有评论:
发表评论