mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 08:04:06 +02:00
Note about conflicts with pn533 kernel modules and pcscd. Change default test to Desfire NDEF read
This commit is contained in:
parent
33902536c1
commit
c5df06fc82
2 changed files with 8 additions and 2 deletions
|
@ -100,6 +100,12 @@ This daemon expects the library to be already configured to find the PN532 devic
|
|||
If you installed libnfc from source, the default directory might be
|
||||
`/usr/local/etc/nfc` instead of `/etc/nfc`.
|
||||
|
||||
## Conflicts with other running software - pcscd, pn533 kernel modules
|
||||
|
||||
If you have `pcscd` running, it will take over the reader and you can't use it. Kill/stop pcscd service/process if running.
|
||||
|
||||
Similarly, you have to blacklist `pn533` and `pn533_usb` kernel modules (usually in a file like `/etc/modprobe.d/blacklist.conf`).
|
||||
|
||||
## Known bugs (TODO)
|
||||
|
||||
* The open-switch module that changes topic based on status of GPIO switch can set status,
|
||||
|
|
|
@ -42,12 +42,12 @@ tests = {
|
|||
}
|
||||
|
||||
# default test if not selected otherwise in sys.argv[1]
|
||||
apdu_test = "ndef4"
|
||||
apdu_test = "desfire-ndef4"
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
apdu_test = sys.argv[1]
|
||||
|
||||
print "Available tests: %s" % ", ".join(sorted(tests.keys()))
|
||||
print "Available tests: %s" % ", ".join(sorted(tests.keys() + "desfire-ndef4")) #desfire-ndef4 has a bit postprocessing
|
||||
print "Selected test: %s" % apdu_test
|
||||
|
||||
# select apdus according to test name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue