b05ab6285d
Import some files that allow to build a correct libnfc's DLL on Windows platform. (Thanks to Roger Brown from Snapper)
Romuald Conty2010-05-28 09:48:15 +00:00
07a779c880
Add a small example to diagnose basic elements (communication, rom and ram) of pn53x.
Romuald Conty2010-05-28 09:09:36 +00:00
ac663d02a1
Use pn53x_decode_target_data() to decode target data in nfc_initiator_select_tag(). Fix Issue 82.
Romuald Conty2010-05-18 10:57:38 +00:00
cf0c2dd9f2
Fix ATS lenght in pn53x_decode_target_data().
Romuald Conty2010-05-18 10:55:18 +00:00
8c1815fbea
Move variable declarations in order to compile using non-C99 compiler. Fix Issue 80.
Romuald Conty2010-05-18 08:27:50 +00:00
404dfba6e8
usb_release() must be called before usb_reset(). Fix Issue 81 (Thanks to thaolx).
Romuald Conty2010-05-18 08:13:26 +00:00
6fd2ea41c5
Next release will not install extra headers. (Programs that depends on should copy theses files into their sources.
Romuald Conty2010-04-27 15:22:26 +00:00
fa1f9a1ff6
Fix device name: snprintf could not be used to append something to source string.
Romuald Conty2010-04-21 10:50:29 +00:00
d9ec086beb
Replace some sprintf with snprintf to prevent from buffer-overflow.
Romuald Conty2010-04-21 10:23:11 +00:00
ce6f7f2c84
Fix potential UART speed problem while autoprobing. Extract communication test from pn532_uart_wakeup().
Romuald Conty2010-04-21 10:19:26 +00:00
67fd8ecd0e
Unix-like system's developer should use 'autoreconf -vis' instead of './autogen.sh'.
Romuald Conty2010-04-20 20:23:14 +00:00
3dccc218df
Enable drivers in cmake again (disabled implicitly in r375).
Romain Tartiere2010-04-16 17:35:00 +00:00
39761badb7
Fix cmake breakage introduced in r360: undefined reference to `print_nfc_iso14443a_info'
Romain Tartiere2010-04-16 17:20:22 +00:00
5e452dbb13
Fix cmake breakage introduced in r352: error: 'for' loop initial declaration used outside C99 mode
Romain Tartiere2010-04-16 17:10:08 +00:00
10baef235f
(libnfc-less-bitutils-more-ponies) Get rid of bitutils.[hc] (part 1). - New API function append_iso14443a_crc(); - Add a PRINT_HEX macro for driver debugging (replaces print_hex function from bitutils.c); - Move bit-mirroring related functions to libnfc/mirror-subr.[hc]; - Move iso14443 related functions to libnfc/iso14443-subr.c; - Move libnfc/bitutils.c hex-dumping code to examples/nfc-utils.c; - Replace calls to swap_endian32() and swap_endian64() functions with calls to bswap32() and bswap64 provided by endian.h.
Romain Tartiere2010-04-16 16:38:57 +00:00
5302930b09
Avoid using a 'comma pasting' GNU extension (non-portable, reported my clang).
Romain Tartiere2010-04-16 14:50:48 +00:00
4dbeff47db
Fix warnings on 32bit systems: - format '%ld' expects type 'long int', but argument 2 has type 'unsigned int'; - format '%ld' expects type 'long int', but argument 2 has type 'size_t'.
Romain Tartiere2010-04-15 23:11:36 +00:00
b55400a0d5
configure.ac rework - Put libusb and PC/SC check in m4 macros. - Suppress --disable-pcsclite and --disable-libusb - Add --with-drivers option: we now could choose which driver to build. without this option a default set is build (ATM all drivers except PN532_UART)
Romuald Conty2010-04-15 14:41:13 +00:00
b747573dc7
PN532_UART readers could now poll using PN532 hardware feature. This commit should fix Issue 56 too.
Romuald Conty2010-04-14 13:28:24 +00:00
064b7c4b41
Revert libnfc/drivers.h (from r371), this file should not have been commited (in r372). Second pointy hat to: me again
Romuald Conty2010-04-14 10:44:12 +00:00
0a08ef00c2
Fix recently changed wakeup function for pn532_uart driver. Pointy hat to: me ;)
Romuald Conty2010-04-14 10:39:18 +00:00
a3f68b566d
Raise up timeout value in UART, this is tricky (ugly?) hack to allow low speed UART device to run nfc-emulate.
Romuald Conty2010-04-13 14:36:02 +00:00
2766cd8822
ARYGON readers could now poll using PN532 hardware feature.
Romuald Conty2010-04-13 14:11:10 +00:00
332eed3596
nfc-poll: raise polling duration from 1500ms to 6000ms.
Romuald Conty2010-04-13 14:07:29 +00:00
29fad31ee5
Update ARYGON driver, it now support probing as PN532_UART. Communication should be faster (delays removed). Note: ARYGON APPB2UA33 oem reader now works.
Romuald Conty2010-04-12 14:51:50 +00:00
a4d1c53ed3
Add wake up function for PN532 UART and run a communication test to know if device correctly respond.
Romuald Conty2010-04-12 14:48:03 +00:00
1ba436041b
Report found device number in debug mode.
Romuald Conty2010-04-12 14:43:19 +00:00
f693040ced
Disable compiler code optimizations and turn on gdb support when --enable-debug is passed to configure.
Romuald Conty2010-04-09 23:41:35 +00:00
e886ef4f48
nfc-poll: Warn user when hardware does not support polling.
Romuald Conty2010-04-09 23:38:05 +00:00
c9370e6fac
Prevent from running polling on hardware that does not support it.
Romuald Conty2010-04-09 23:11:20 +00:00
ae99d155b5
Make nfc-list rely on the libnfcutils.a convenience library and call nfc_initiator_select_tag().
Romain Tartiere2010-04-09 22:08:17 +00:00
b8630c4230
Fix various warnings: - format '%d' expects type 'int', but argument 2 has type 'long unsigned int'; - format '%d' expects type 'int', but argument 2 has type 'size_t'; - unused variable 'nti'; - unused parameter 'argc'.
Romain Tartiere2010-04-09 22:03:52 +00:00
ee3715e267
Add convenience library infrastructure and move the print_nfc_iso14443a_info() function away from bitutils.
Romain Tartiere2010-04-09 21:57:03 +00:00
2714180227
Add new example to show how to use new polling function.
Romuald Conty2010-04-09 16:21:25 +00:00
40f230d6f0
New API function (experimental): nfc_initiator_poll_targets() which allow to use hardware polling function. Warning: ATM, it only support ISO14443a targets.
Romuald Conty2010-04-09 16:20:47 +00:00
4128b23f86
Add new function pn53x_decode_target_data() that fill nfc_target_info_t with TargetData byte stream.
Romuald Conty2010-04-09 16:18:42 +00:00
bc4c34f851
Add two new types: nfc_target_type_t and nfc_target_t.
Romuald Conty2010-04-09 16:16:17 +00:00
af9f744390
Add a simple function to print nfc_iso14443a_info_t structure.
Romuald Conty2010-04-09 16:11:21 +00:00
5473befa13
Fix a brunch of -Wextra warnings: - 'static' is not at beginning of declaration; - unused parameter; - comparison between signed and unsigned.
Romain Tartiere2010-04-07 15:08:04 +00:00
ba5dbb05d5
Put an annoying message in debug mode only.
Romuald Conty2010-03-25 14:55:28 +00:00
17dda85c71
Add README for Windows compilation using win32/Makefile. Rename README-Windows.txt (compilation using CMake) into CMake-Windows.txt
Romuald Conty2010-03-25 09:28:09 +00:00
f20a681315
Prevent the Windows installer from installing manual pages.
Romain Tartiere2010-03-23 10:00:48 +00:00
f372104163
Fix build on Windows when using CMake (Tested on Windows XP SP3 with WinSDK 7)
Romain Tartiere2010-03-22 20:34:02 +00:00
b3b3f47876
- Sync libnfc version in CMake with the one in the autotools; - Only add gcc-specific options when using gcc.
Romain Tartiere2010-03-22 20:28:30 +00:00