67fb1330f8Rework the indent target.
Romain Tartiere
2010-07-21 13:09:48 +00:00
2688de6500API change: nfc_initiator_select_tag() is now nfc_initiator_select_passive_target() AND nfc_initiator_deselect_tag() is now nfc_initiator_deselect_target()
Romuald Conty
2010-07-21 10:37:37 +00:00
d593a8e4c9Added use of nfc-messages.
Emanuele Bertoldi
2010-06-16 09:48:26 +00:00
f7c31885f5Move all Mifare related code from libnfc API to examples: NFC is capable of Mifare, but Mifare is not NFC.
Romuald Conty
2010-06-15 15:33:22 +00:00
db735ab224Prevent from sources files being executable.
Romuald Conty
2010-06-15 15:32:58 +00:00
8bac5355ddThis should fix Issue 83.
Romuald Conty
2010-06-07 08:16:27 +00:00
2e39e56e17Return value of pn53x_usb_list_devices() must bool, not void*
Romuald Conty
2010-05-28 09:55:13 +00:00
b05ab6285dImport some files that allow to build a correct libnfc's DLL on Windows platform. (Thanks to Roger Brown from Snapper)
Romuald Conty
2010-05-28 09:48:15 +00:00
07a779c880Add a small example to diagnose basic elements (communication, rom and ram) of pn53x.
Romuald Conty
2010-05-28 09:09:36 +00:00
ac663d02a1Use pn53x_decode_target_data() to decode target data in nfc_initiator_select_tag(). Fix Issue 82.
Romuald Conty
2010-05-18 10:57:38 +00:00
cf0c2dd9f2Fix ATS lenght in pn53x_decode_target_data().
Romuald Conty
2010-05-18 10:55:18 +00:00
8c1815fbeaMove variable declarations in order to compile using non-C99 compiler. Fix Issue 80.
Romuald Conty
2010-05-18 08:27:50 +00:00
404dfba6e8usb_release() must be called before usb_reset(). Fix Issue 81 (Thanks to thaolx).
Romuald Conty
2010-05-18 08:13:26 +00:00
9941191cfcFix build when configured with --enable-debug.
Romain Tartiere
2010-04-28 12:55:00 +00:00
6fd2ea41c5Next release will not install extra headers. (Programs that depends on should copy theses files into their sources.
Romuald Conty
2010-04-27 15:22:26 +00:00
367e14dcc0Prevent from potential buffer-overflows.
Romuald Conty
2010-04-21 10:58:04 +00:00
fa1f9a1ff6Fix device name: snprintf could not be used to append something to source string.
Romuald Conty
2010-04-21 10:50:29 +00:00
d9ec086bebReplace some sprintf with snprintf to prevent from buffer-overflow.
Romuald Conty
2010-04-21 10:23:11 +00:00
ce6f7f2c84Fix potential UART speed problem while autoprobing. Extract communication test from pn532_uart_wakeup().
Romuald Conty
2010-04-21 10:19:26 +00:00
67fd8ecd0eUnix-like system's developer should use 'autoreconf -vis' instead of './autogen.sh'.
Romuald Conty
2010-04-20 20:23:14 +00:00
3dccc218dfEnable drivers in cmake again (disabled implicitly in r375).
Romain Tartiere
2010-04-16 17:35:00 +00:00
39761badb7Fix cmake breakage introduced in r360: undefined reference to `print_nfc_iso14443a_info'
Romain Tartiere
2010-04-16 17:20:22 +00:00
5e452dbb13Fix cmake breakage introduced in r352: error: 'for' loop initial declaration used outside C99 mode
Romain Tartiere
2010-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 Tartiere
2010-04-16 16:38:57 +00:00
5302930b09Avoid using a 'comma pasting' GNU extension (non-portable, reported my clang).
Romain Tartiere
2010-04-16 14:50:48 +00:00
4dbeff47dbFix 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 Tartiere
2010-04-15 23:11:36 +00:00
b55400a0d5configure.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 Conty
2010-04-15 14:41:13 +00:00
b747573dc7PN532_UART readers could now poll using PN532 hardware feature. This commit should fix Issue 56 too.
Romuald Conty
2010-04-14 13:28:24 +00:00
064b7c4b41Revert libnfc/drivers.h (from r371), this file should not have been commited (in r372). Second pointy hat to: me again
Romuald Conty
2010-04-14 10:44:12 +00:00
0a08ef00c2Fix recently changed wakeup function for pn532_uart driver. Pointy hat to: me ;)
Romuald Conty
2010-04-14 10:39:18 +00:00
a3f68b566dRaise up timeout value in UART, this is tricky (ugly?) hack to allow low speed UART device to run nfc-emulate.
Romuald Conty
2010-04-13 14:36:02 +00:00
2766cd8822ARYGON readers could now poll using PN532 hardware feature.
Romuald Conty
2010-04-13 14:11:10 +00:00
332eed3596nfc-poll: raise polling duration from 1500ms to 6000ms.
Romuald Conty
2010-04-13 14:07:29 +00:00
29fad31ee5Update ARYGON driver, it now support probing as PN532_UART. Communication should be faster (delays removed). Note: ARYGON APPB2UA33 oem reader now works.
Romuald Conty
2010-04-12 14:51:50 +00:00
a4d1c53ed3Add wake up function for PN532 UART and run a communication test to know if device correctly respond.
Romuald Conty
2010-04-12 14:48:03 +00:00
1ba436041bReport found device number in debug mode.
Romuald Conty
2010-04-12 14:43:19 +00:00
f693040cedDisable compiler code optimizations and turn on gdb support when --enable-debug is passed to configure.
Romuald Conty
2010-04-09 23:41:35 +00:00
e886ef4f48nfc-poll: Warn user when hardware does not support polling.
Romuald Conty
2010-04-09 23:38:05 +00:00
c9370e6facPrevent from running polling on hardware that does not support it.
Romuald Conty
2010-04-09 23:11:20 +00:00
ae99d155b5Make nfc-list rely on the libnfcutils.a convenience library and call nfc_initiator_select_tag().
Romain Tartiere
2010-04-09 22:08:17 +00:00
b8630c4230Fix 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 Tartiere
2010-04-09 22:03:52 +00:00