mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-08 16:36:25 +02:00
Note on libnfc configuration
This commit is contained in:
parent
c1d531e201
commit
35ebb0c1ff
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
@ -43,6 +43,18 @@ You need just to run `make`. Additional dependencies:
|
||||||
|
|
||||||
Finally, run the daemon:
|
Finally, run the daemon:
|
||||||
|
|
||||||
python brmdoor_nfc_daemon.py brmdoor_nfc.config
|
sudo python brmdoor_nfc_daemon.py brmdoor_nfc.config
|
||||||
|
|
||||||
|
## Note on configuring libnfc devices
|
||||||
|
|
||||||
|
If you have PN532 device on other bus than USB (e.g. SPI), first search for it using:
|
||||||
|
|
||||||
|
sudo nfc-scan-device -i
|
||||||
|
|
||||||
|
After that, create file `/etc/nfc/libnfc.conf` with line describing your device
|
||||||
|
from `nfc-scan-device` above, e.g. for SPI device:
|
||||||
|
|
||||||
|
device.connstring = "pn532_spi:/dev/spidev0.0"
|
||||||
|
|
||||||
|
This daemon expects the library to be already configured to find the PN532 device.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue