mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 16:14:01 +02:00
Note on libnfc configuration
This commit is contained in:
parent
35ebb0c1ff
commit
7cd1f0eaf3
1 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,7 @@ Info about authorized users and their cards and keys is stored in sqlite databas
|
|||
|
||||
You need just to run `make`. Additional dependencies:
|
||||
|
||||
- [libnfc](https://github.com/nfc-tools/libnfc/releases), already present in Raspbian 8 repositories
|
||||
- [SWIG](http://www.swig.org/)
|
||||
- [WiringPi2 pythonic binding](https://github.com/WiringPi/WiringPi2-Python) (for switching lock on Raspberry)
|
||||
- you may have to change `python2.7-config` to `python-config` on some older systems in Makefile
|
||||
|
@ -45,7 +46,7 @@ Finally, run the daemon:
|
|||
|
||||
sudo python brmdoor_nfc_daemon.py brmdoor_nfc.config
|
||||
|
||||
## Note on configuring libnfc devices
|
||||
## Configuring libnfc devices
|
||||
|
||||
If you have PN532 device on other bus than USB (e.g. SPI), first search for it using:
|
||||
|
||||
|
@ -58,3 +59,5 @@ from `nfc-scan-device` above, e.g. for SPI device:
|
|||
|
||||
This daemon expects the library to be already configured to find the PN532 device.
|
||||
|
||||
If you installed libnfc from source, the default directory might be
|
||||
`/usr/local/etc/nfc` instead of `/etc/nfc`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue