My favorites | Sign in
Project Home Downloads Issues Source
Search
for
nfcd  
nfcd - Downloading, Installation and use
Updated Jul 28, 2010 by romu...@libnfc.org

Introduction

NFCd is a daemon which access NFC Devices and Targets. It offer D-Bus services to get devices list, targets list, target content...

NFCd is written in C++, it use Qt, libfreefare, libndef and libnfc.

Requirements

Build

svn checkout http://nfc-tools.googlecode.com/svn/trunk/nfcd nfcd
cd nfcd
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

NFCd use D-Bus and D-Bus needs policy file to allow NFCd to publish on system bus:

sudo cp nfcd.conf /etc/dbus-1/system.d/

Run

Once these commands succeed, just type:

sudo nfcd

Note: ATM, NFCd provide D-Bus interface on system bus.

Debug

You need to activate special flags in order to debug, to do this you simply need to activate "Debug" target using CMake

cmake .. -DCMAKE_BUILD_TYPE=Debug

Sign in to add a comment
Powered by Google Project Hosting