Commit graph

962 commits

Author SHA1 Message Date
Romuald Conty
ca3efe2517 nfc-mfclassic: fixes a segfault when using only 1 argument (Fixes Issue 142) 2011-02-06 19:46:16 +00:00
Roel Verdult
ffd1eb1875 falling back to POSIX compatible commands, fgets in stead of getline. MacOSX / BSD doesn't come with glibc on default 2011-02-05 20:52:55 +00:00
Romuald Conty
fa4f6ca2ad nfc-emulate-uid: nfc_target_init() needs a emulable UID at first. (Fixes Issue 143) 2011-02-04 17:43:36 +00:00
Romuald Conty
bb1ebea711 debian: only install *.cmd from examples/pn53x-tamashell-scripts/ 2011-02-04 14:32:42 +00:00
Philippe Teuwen
af7d04cd04 tamashell: accepts script as arg, this makes shebang possible 2011-02-03 17:17:29 +00:00
Romuald Conty
8c3caed99f Add missing CMake files to generated tarball. (Thanks to Glenn) 2011-02-03 09:51:38 +00:00
Romuald Conty
25e04988a1 README: if ACS CCID is used the pcsc-lite configuration file is different. 2011-02-02 14:44:38 +00:00
Romuald Conty
6f36352265 README: be more generic on the pcsc-lite configuration file. 2011-02-02 14:20:16 +00:00
Romuald Conty
91419f8ad3 chip/pn53x: set register directly if mask cover whole value. 2011-02-01 21:38:25 +00:00
Romuald Conty
58ad2a5760 Add new supported device: ASK / LoGO. (Thanks to ASK for sending one sample of this device) 2011-02-01 21:20:48 +00:00
Romuald Conty
659d7a9de1 Prepare 1.4.1 version 2011-02-01 09:49:41 +00:00
Romuald Conty
bb1fc9cd87 Remove unrelevant file. 2011-02-01 09:27:27 +00:00
Romuald Conty
200487d172 Fix typo 2011-02-01 09:23:30 +00:00
Emanuele Bertoldi
35188bff25 Removed hard-coded size of ack frame. 2011-01-28 10:22:21 +00:00
Romain Tartiere
cf92bfaeee Fix crash when file cannot be opened for writing. 2011-01-20 15:42:46 +00:00
Emanuele Bertoldi
eae07f1977 Improved UART communication on POSIX systems:
- Added "dynamic timeout" to "uart_send" function.
- Added "static timeout" to each iteration of the while loop (it seems to solve a lot of sync troubles during read operation). 
(Tested with PN532).
2011-01-18 11:35:23 +00:00
Romuald Conty
58c5662f35 Improve Windows platform support (Thanks to Glenn)
* Remove stdint for MSVC since MSVC is not supported anymore;
 * Fix libusb detection under Windows;
 * Fix PCSC detection (mingw-w64 now have PC/SC Winscard interface);
 * Ajust CMake files in order to make it compile (some examples have been disabled).
2011-01-17 13:42:24 +00:00
Romuald Conty
f32013aba5 Define MIN/MAX on Windows platform (Thanks to Glenn) 2011-01-17 13:41:25 +00:00
Romuald Conty
d5c8188e99 Fix missing pn53x-tamashell-scripts in generated tarball. (thanks to usermeister) 2011-01-17 13:31:04 +00:00
Emanuele Bertoldi
b58816df05 Fixed issue #139: serial autoprobe now skips invalid devices but checks all ports in the list. 2011-01-14 16:39:02 +00:00
Roel Verdult
55be1debaf added include for MIN macro, fixed typo in determin buffer size 2011-01-11 12:04:42 +00:00
Romuald Conty
0f8c23bddd Inform user if target UID can be emulated
New error: ETGUIDNOTSUP raised when UID is not 4 bytes long or does not start with 0x08 (Security restriction present in the NXP PN53x chips)
2011-01-07 16:15:18 +00:00
Philippe Teuwen
03963ef535 nfc-emulate-tag: handle HALT & READ 2011-01-07 13:22:39 +00:00
Philippe Teuwen
73561c5c1a nfc-emulate-tag.c: add notes on UID emulation 2011-01-07 12:32:25 +00:00
Romuald Conty
cfa5e9be58 Fix typo. 2011-01-07 10:56:43 +00:00
Romuald Conty
ba1db2f406 chips/pn53x: name commands like user manual 2011-01-06 14:52:45 +00:00
Romuald Conty
d956ffb386 examples/nfc-emulate-tag: switch off easy framing when we are not emulating a ISO14443-4 target 2011-01-06 14:43:41 +00:00
Romuald Conty
88c14f5d4b Oops, revert wrong file commit 2011-01-06 14:06:01 +00:00
Romuald Conty
556918b298 Add some manual tests with ARYGON APDB2UA33. 2011-01-06 14:04:48 +00:00
Romuald Conty
432eff0f7d Fix polling on ARYGON devices 2011-01-06 14:00:05 +00:00
Romuald Conty
dd8ec29bb4 chips/pn53x: prefer pn53x_transceive() when possible. 2011-01-06 13:59:20 +00:00
Romuald Conty
6edb5a3bef Fix reply frame length for InAutoPoll 2011-01-06 13:20:45 +00:00
Romuald Conty
6ca32fbfb9 Fix reply length from transceive bits/bytes functions 2011-01-06 13:07:38 +00:00
Romuald Conty
dcdad1e2e6 debian: enable serial autoprobing (needed for ARYGON devices) 2011-01-06 12:40:51 +00:00
Romuald Conty
1d085f21c9 Improve PN53x frame size calculation.
chips/pn53x: adjust size and defines to better handle reply size;
drivers/arygon: improve attempted reply size, should speed up the connexion;
drivers/pn532_uart: improve attempted reply size, should speed up the connexion;
2011-01-06 12:39:29 +00:00
Romuald Conty
26b26f9783 Comment out debug messages and use MIN() macro from <sys/param.h> 2011-01-06 12:31:31 +00:00
Romuald Conty
1336c73e0c example/nfc-mfultralight: handle lock page writing 2011-01-04 09:55:43 +00:00
Romuald Conty
53c8917353 Attempt fix some UART timeouts, should also allow lower devices to be detected. 2010-12-30 10:01:06 +00:00
Romuald Conty
ba37313cb8 Prevent from stack corruption when using PN533-based device and add errors handling for ReadRegister and WriteRegister. (Fixes Issue 135) 2010-12-29 14:01:14 +00:00
Romuald Conty
84710f266b nfc-mfultralight: remove unused variable 2010-12-29 13:16:30 +00:00
Romuald Conty
59a93eab45 Add register access test. 2010-12-29 13:15:49 +00:00
Romuald Conty
e38636c4ac CMake fixes (Thanks to glenn from libnfc's forum) 2010-12-21 11:06:43 +00:00
Philippe Teuwen
9c3fccb073 README: more troubleshooting info 2010-12-13 13:07:55 +00:00
Romuald Conty
12324873d3 Document ACR122 problem with pcsclite. (Fixes Issue 131) 2010-12-13 11:58:04 +00:00
Philippe Teuwen
3b62d2512c nfc-mfultralight: fix 7byte UID display 2010-12-09 23:40:03 +00:00
Romuald Conty
ca594f3198 Update ChangeLog 2010-11-17 14:44:22 +00:00
Romuald Conty
5e9e177319 Change examples license for the sake of consistency: LGPL covers library, re-usable examples code is now under BSD license. 2010-11-17 14:27:11 +00:00
Romuald Conty
6aa07aa78b Add extra dist to make distcheck pass and force distcheck to compile all drivers 2010-11-17 10:14:26 +00:00
Romuald Conty
66aef98c40 Define strdup under Windows in contrib/windows.h 2010-11-17 10:10:34 +00:00
Romuald Conty
835823809f Split UART implementations: POSIX and Windows
It could ease to port to other system like MiKey and it should be easy to track which is the concerned OS while uart driver is modified.
2010-11-17 08:48:03 +00:00