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
Romuald Conty
58dcf63e7c
MERGE: libnfc-mingw-cross merge with trunk (r805-821)
2010-11-17 08:29:41 +00:00
Romuald Conty
6df612a364
Errors use #define instead of constant values.
...
Update Issue 84
Current 'ident' command breaks commit-concerned lines.
2010-11-15 18:50:53 +00:00
Philippe Teuwen
779fdd5df6
Tweaks Touchatag detection under MacOSX (Fixes issue 128)
2010-11-15 13:00:07 +00:00
Romuald Conty
6e29450d69
Fix memory leak while using *_pick(). Thanks to frankmorgner (Fixes Issue 130)
2010-11-12 19:24:20 +00:00
Romuald Conty
6e70cfa5ef
Fix UART default serial ports under Linux.
2010-11-12 18:38:47 +00:00
Romain Tartiere
ad5959e860
Really fail if pkg-config is not present.
...
Submitted by: Amnesia, bigjay via IRC.
2010-11-05 11:36:20 +00:00
Romain Tartiere
4e5d0766e1
Rename append_iso14443a_crc() to iso14443a_crc_append().
2010-10-29 10:59:26 +00:00
Romuald Conty
af0a47ad2c
Upgrade Debian: add pn53x scripts to libnfc-pn53x-examples package
2010-10-26 15:40:34 +00:00
Romuald Conty
f252bec18f
Upgrade debian package: split experimental examples from regular ones
2010-10-26 15:35:55 +00:00
Philippe Teuwen
26de9d3a69
nfc-anticol: Computes CRC rather than hardcoded one. psst: r800 \o/
2010-10-26 15:01:46 +00:00
Romuald Conty
7b29e44698
Updating ChangeLog
2010-10-26 14:43:45 +00:00
Romuald Conty
5f4f7cd45a
Bump package version
2010-10-26 14:31:22 +00:00
Romuald Conty
a214974684
Remove INFO macro: display was not clear enough and does not provide a big benefit.
...
New Issue
Summary: Remove nfc-message.h file from installed ones
nfc-message.h provide some usefull debugging macros but I am not sure that these macros have to be installed with other files.
2010-10-26 14:27:17 +00:00
Philippe Teuwen
1963bb65e4
nfc-anticol: Cascade based on SAK rather than CT, better for educational purpose
2010-10-25 13:48:01 +00:00
Philippe Teuwen
56e37ec309
nfc-anticol: Adds support for CL3 (Fixes issue 126) Thanks.
2010-10-25 13:00:39 +00:00
Romuald Conty
5c8749c63e
drivers/arygon: retrieve ARYGON firmware version
2010-10-22 15:21:06 +00:00