mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 16:14:01 +02:00
Fix for old libfreefare Desfire timeout deadlocks
This commit is contained in:
parent
374ba4df5d
commit
b778741ce1
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -29,6 +29,16 @@ and panic trigger) or a cheap electromagnetic lock.
|
|||
|
||||
Test code is also provided to get payment signature (cryptogram) from Visa and Mastercard, but it's not used.
|
||||
|
||||
### Note on old libfreefare 0.4.x desfire timeouts/deadlocks
|
||||
|
||||
Old libfreefare 0.4.x has infinite timeouts for desfire operations (and others).
|
||||
|
||||
Fix can be made by replacing the timeout parameter in `nfc_initiator_transceive_bytes` calls in libfreefare sources.
|
||||
|
||||
You need to rebuild the lib and reinstall it.
|
||||
|
||||
Latest versions have finite timeout, which is also configurable.
|
||||
|
||||
## Building and dependencies
|
||||
|
||||
You need just to run `make`. Additional dependencies:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue