https://github.com/nfc-tools/qnfcd
QNFCd is a C++/Qt daemon that exposes NFC devices through D-Bus
https://github.com/nfc-tools/qnfcd
Last synced: 3 months ago
JSON representation
QNFCd is a C++/Qt daemon that exposes NFC devices through D-Bus
- Host: GitHub
- URL: https://github.com/nfc-tools/qnfcd
- Owner: nfc-tools
- License: gpl-3.0
- Created: 2015-03-14T10:06:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-14T10:54:47.000Z (about 11 years ago)
- Last Synced: 2025-04-05T11:34:20.027Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 234 KB
- Stars: 15
- Watchers: 9
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
QNFCd is a C++/Qt daemon that exposes NFC devices through D-Bus.
**This project have WIP status and now looks for maintainer.**
# Introduction #
QNFCd is a daemon which access NFC Devices and Targets through libnfc. It offers D-Bus services to get devices list, targets list, target content...
QNFCd is written in C++/Qt, libfreefare, libndef and libnfc.
# Requirements #
* CMake (>= 2.6)
* Qt4 core (>= 4.3)
* [libnfc](http://www.libnfc.org/documentation/installation) (>= 1.7.0);
* [libfreefare](http://code.google.com/p/libfreefare) (>= 0.3.4);
* [libndef](http://code.google.com/p/libndef/source/browse/trunk/INSTALL) (>= 1.0.1).
# Build #
```
git clone https://code.google.com/p/qnfcd
cd qnfcd
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install
```
QNFCd 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, QNFCd 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
```