Note about conflicts with pn533 kernel modules and pcscd. Change default test to Desfire NDEF read

This commit is contained in:
Ondrej Mikle 2018-04-21 21:38:36 +02:00
parent 33902536c1
commit c5df06fc82
2 changed files with 8 additions and 2 deletions

View file

@ -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,

View file

@ -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