Commit graph

  • 4b5d3913d9 Cleanup. Emanuele Bertoldi 2010-06-15 15:10:11 +0000
  • 8e4bef9c90 Added draft of a new libnfc-based example: nfc-sam. Emanuele Bertoldi 2010-06-15 15:05:40 +0000
  • ec48f04dd8 Bump package version to 1.3.9 since trunk looks like 1.4.x series. Romuald Conty 2010-06-07 13:33:33 +0000
  • d171562002 Re-ident examples/nfc-poll.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2 " command line. Romuald Conty 2010-06-07 09:51:31 +0000
  • 3c1a61349f Re-ident nfc-mfclassic.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2 " command line. Romuald Conty 2010-06-07 09:05:35 +0000
  • 8bac5355dd This should fix Issue 83. Romuald Conty 2010-06-07 08:16:27 +0000
  • 2e39e56e17 Return value of pn53x_usb_list_devices() must bool, not void* Romuald Conty 2010-05-28 09:55:13 +0000
  • b05ab6285d Import 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 +0000
  • 07a779c880 Add a small example to diagnose basic elements (communication, rom and ram) of pn53x. Romuald Conty 2010-05-28 09:09:36 +0000
  • ac663d02a1 Use pn53x_decode_target_data() to decode target data in nfc_initiator_select_tag(). Fix Issue 82. Romuald Conty 2010-05-18 10:57:38 +0000
  • cf0c2dd9f2 Fix ATS lenght in pn53x_decode_target_data(). Romuald Conty 2010-05-18 10:55:18 +0000
  • 8c1815fbea Move variable declarations in order to compile using non-C99 compiler. Fix Issue 80. Romuald Conty 2010-05-18 08:27:50 +0000
  • 404dfba6e8 usb_release() must be called before usb_reset(). Fix Issue 81 (Thanks to thaolx). Romuald Conty 2010-05-18 08:13:26 +0000
  • 9941191cfc Fix build when configured with --enable-debug. Romain Tartiere 2010-04-28 12:55:00 +0000
  • 1b7a7a4be1 Fix Issue 79. Libtool now handle library creation. Romuald Conty 2010-04-27 15:28:41 +0000
  • 6fd2ea41c5 Next 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 +0000
  • a98cd3837b CMake: fix win32 paths and remove hardcoded definitions. Romuald Conty 2010-04-26 14:50:52 +0000
  • 6f04f3cb92 Windows zip archive with manual makefile is not generated anymore. Romuald Conty 2010-04-26 13:40:42 +0000
  • c2cead7089 Remove "manual" Windows makefile: Windows users should now use CMake. Romuald Conty 2010-04-26 13:38:17 +0000
  • 693389ac10 Move additionnal files (for Windows) in contrib/ Romuald Conty 2010-04-26 13:36:41 +0000
  • 16786c61e3 Remove bitutils I reverted instead of removing in r412. Romain Tartiere 2010-04-26 13:20:57 +0000
  • b28abd77b0 Merge the libnfc-less-bitutils-more-ponies branch into trunk. Romain Tartiere 2010-04-26 13:13:13 +0000
  • 00af8b7ae1 Fix ${DRIVERS_SOURCES} modifications. Romain Tartiere 2010-04-26 13:05:21 +0000
  • e45a0943e8 Change to way to handle DRIVERS_SOURCES in CMake. Romuald Conty 2010-04-26 13:00:41 +0000
  • 27ccf67503 Reorganize CMake sections. Romuald Conty 2010-04-26 12:59:23 +0000
  • 194faf56fb make_release: Add a cleaning section. Romuald Conty 2010-04-26 12:58:17 +0000
  • 854cfe15ec Fix ARYGON detection. Rename acConnect to acPort. Now use snprintf and strncpy (see Issue 78) Romuald Conty 2010-04-22 10:22:41 +0000
  • 3e16031877 Fix ARYGON driver build (missing comma). Romuald Conty 2010-04-22 09:01:22 +0000
  • 367e14dcc0 Prevent from potential buffer-overflows. Romuald Conty 2010-04-21 10:58:04 +0000
  • fa1f9a1ff6 Fix device name: snprintf could not be used to append something to source string. Romuald Conty 2010-04-21 10:50:29 +0000
  • d9ec086beb Replace some sprintf with snprintf to prevent from buffer-overflow. Romuald Conty 2010-04-21 10:23:11 +0000
  • ce6f7f2c84 Fix potential UART speed problem while autoprobing. Extract communication test from pn532_uart_wakeup(). Romuald Conty 2010-04-21 10:19:26 +0000
  • 67fd8ecd0e Unix-like system's developer should use 'autoreconf -vis' instead of './autogen.sh'. Romuald Conty 2010-04-20 20:23:14 +0000
  • f05e432df8 Fix autogen.sh usage on MacOS X. Romuald Conty 2010-04-20 20:20:27 +0000
  • 942dcfa631 PN532_UART: prevent from blocking when device doesn't reply correctly to wakeup command. Romuald Conty 2010-04-20 15:05:57 +0000
  • e3ff11eb46 Fix warnings "no previous prototype for ..." on bitutils.[hc] Romuald Conty 2010-04-20 09:44:27 +0000
  • 9abb29f1d1 nfc-mfultralight: fix warnings about prototypes. Fix Issue 77. Romuald Conty 2010-04-20 09:28:19 +0000
  • 7762814eda nfc-mfclassic: fix warnings about prototypes. Fix Issue 76. Romuald Conty 2010-04-20 09:25:18 +0000
  • 75cc48e460 nfc-mfclassic: fix warnings "no previous prototype for...". Fix Issue 75. Romuald Conty 2010-04-20 09:05:23 +0000
  • 03eec8fab6 nfc-anticol: fix warnings "no previous prototype for...". Fix Issue 74. Romuald Conty 2010-04-20 09:04:20 +0000
  • 2ab522950f Remove uart_cts() since the function is defined but never used. Fix Issue 71 Romuald Conty 2010-04-20 08:48:41 +0000
  • 778ac87b37 Add drivers selection to CMake build. Fix Issue 70 Romuald Conty 2010-04-20 08:45:31 +0000
  • 204130477e (libnfc-less-bitutils-more-ponies) MFT Romain Tartiere 2010-04-17 13:45:00 +0000
  • be3f152d3c Fix a few more warnings. Romain Tartiere 2010-04-17 13:42:08 +0000
  • 086e24c407 (libnfc-less-bitutils-more-ponies) Fix build on windows: - do not depends on byte swapping functions / macros; - add basic err.h functionalities. Romain Tartiere 2010-04-16 22:38:45 +0000
  • 3e8e1c8844 Fix build on Windows (using cmake and nmake). Romain Tartiere 2010-04-16 20:39:56 +0000
  • 3820c34f28 (libnfc-less-bitutils-more-ponies) MFT Romain Tartiere 2010-04-16 19:27:49 +0000
  • 0e6719908b (libnfc-less-bitutils-more-ponies) Update CMakeLists.txt. Romain Tartiere 2010-04-16 17:42:00 +0000
  • 3dccc218df Enable drivers in cmake again (disabled implicitly in r375). Romain Tartiere 2010-04-16 17:35:00 +0000
  • 39761badb7 Fix cmake breakage introduced in r360: undefined reference to `print_nfc_iso14443a_info' Romain Tartiere 2010-04-16 17:20:22 +0000
  • 5e452dbb13 Fix cmake breakage introduced in r352: error: 'for' loop initial declaration used outside C99 mode Romain Tartiere 2010-04-16 17:10:08 +0000
  • 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 +0000
  • 5302930b09 Avoid using a 'comma pasting' GNU extension (non-portable, reported my clang). Romain Tartiere 2010-04-16 14:50:48 +0000
  • 0b301d8ff6 Add missing documentation lines. Romain Tartiere 2010-04-16 13:00:33 +0000
  • 7b65174856 Remove deprecated DEBUG_CFLAGS. Romain Tartiere 2010-04-16 12:58:29 +0000
  • 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 Tartiere 2010-04-15 23:11:36 +0000
  • d74e68a3fd Add nfc-utils.h to generated tarball. (make distcheck OK) Romuald Conty 2010-04-15 17:36:43 +0000
  • 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 Conty 2010-04-15 14:41:13 +0000
  • b747573dc7 PN532_UART readers could now poll using PN532 hardware feature. This commit should fix Issue 56 too. Romuald Conty 2010-04-14 13:28:24 +0000
  • 064b7c4b41 Revert 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 +0000
  • 0a08ef00c2 Fix recently changed wakeup function for pn532_uart driver. Pointy hat to: me ;) Romuald Conty 2010-04-14 10:39:18 +0000
  • a3f68b566d Raise 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 +0000
  • 2766cd8822 ARYGON readers could now poll using PN532 hardware feature. Romuald Conty 2010-04-13 14:11:10 +0000
  • 332eed3596 nfc-poll: raise polling duration from 1500ms to 6000ms. Romuald Conty 2010-04-13 14:07:29 +0000
  • 24e7b20d04 Add debug output when pnd->pdc->tranceive() failed. Romuald Conty 2010-04-13 12:48:52 +0000
  • 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 Conty 2010-04-12 14:51:50 +0000
  • a4d1c53ed3 Add 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 +0000
  • 1ba436041b Report found device number in debug mode. Romuald Conty 2010-04-12 14:43:19 +0000
  • f693040ced Disable compiler code optimizations and turn on gdb support when --enable-debug is passed to configure. Romuald Conty 2010-04-09 23:41:35 +0000
  • e886ef4f48 nfc-poll: Warn user when hardware does not support polling. Romuald Conty 2010-04-09 23:38:05 +0000
  • c9370e6fac Prevent from running polling on hardware that does not support it. Romuald Conty 2010-04-09 23:11:20 +0000
  • 71341b871e Minor comments added. Romuald Conty 2010-04-09 23:09:20 +0000
  • ae99d155b5 Make nfc-list rely on the libnfcutils.a convenience library and call nfc_initiator_select_tag(). Romain Tartiere 2010-04-09 22:08:17 +0000
  • 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 Tartiere 2010-04-09 22:03:52 +0000
  • ee3715e267 Add convenience library infrastructure and move the print_nfc_iso14443a_info() function away from bitutils. Romain Tartiere 2010-04-09 21:57:03 +0000
  • 2714180227 Add new example to show how to use new polling function. Romuald Conty 2010-04-09 16:21:25 +0000
  • 40f230d6f0 New API function (experimental): nfc_initiator_poll_targets() which allow to use hardware polling function. Warning: ATM, it only support ISO14443a targets. Romuald Conty 2010-04-09 16:20:47 +0000
  • 4128b23f86 Add new function pn53x_decode_target_data() that fill nfc_target_info_t with TargetData byte stream. Romuald Conty 2010-04-09 16:18:42 +0000
  • bc4c34f851 Add two new types: nfc_target_type_t and nfc_target_t. Romuald Conty 2010-04-09 16:16:17 +0000
  • af9f744390 Add a simple function to print nfc_iso14443a_info_t structure. Romuald Conty 2010-04-09 16:11:21 +0000
  • e9451f71f2 Add details on nfc_initiator_select_dep_target() fct params (enhance documentation). Romuald Conty 2010-04-09 15:11:42 +0000
  • 495de91e13 Fix documentation build. Romuald Conty 2010-04-09 15:08:36 +0000
  • 25b49f7879 Fix mis-initialized ATS field when filling-in nfc_target_info_t structure (wrong source address in memcpy()) Romuald Conty 2010-04-08 16:20:03 +0000
  • ab028ab4e2 Add FIXME related to Issue 61. Romuald Conty 2010-04-08 16:13:12 +0000
  • 9c43e75691 Redo r336. (Missed at r340) Romuald Conty 2010-04-07 16:30:16 +0000
  • 5473befa13 Fix a brunch of -Wextra warnings: - 'static' is not at beginning of declaration; - unused parameter; - comparison between signed and unsigned. Romain Tartiere 2010-04-07 15:08:04 +0000
  • 3a0d05d15a Minor headers ajustments. Romuald Conty 2010-04-07 14:47:53 +0000
  • bedaf12b0e Fix releaser script according to the new sources tree. Romuald Conty 2010-04-07 14:46:46 +0000
  • c7d77d7664 Rearrange source code. Romain Tartiere 2010-04-07 14:37:19 +0000
  • be1639b452 Prepare libnfc 1.3.4 (ChangeLog) Romuald Conty 2010-04-06 21:19:40 +0000
  • c4c7fa236a Attempt to be able to compile using manual makefile AND with CMake (missing parts from r332) Romain Tartiere 2010-04-06 17:55:12 +0000
  • 09d2fff619 Add another missing CMakeLists.txt in autotooled tarball. Romain Tartiere 2010-04-03 12:06:50 +0000
  • 22d4ea3207 Add missing CMakeLists.txt in autotooled tarball. Romain Tartiere 2010-04-03 12:03:24 +0000
  • 02a29920fc Prepare libnfc 1.3.4 Romuald Conty 2010-03-31 14:07:13 +0000
  • d3796b6531 Attempt to be able to compile using manual makefile AND with CMake Romuald Conty 2010-03-31 14:03:12 +0000
  • 12e4d3c822 Minor tweak in make_release.sh script Romuald Conty 2010-03-31 13:54:31 +0000
  • 23f2adb433 Fix missing ";". Romuald Conty 2010-03-31 10:16:26 +0000
  • a78cae1c15 Export ISO14443A CRC function. Thanks to Romain Tartière. Romuald Conty 2010-03-31 10:09:06 +0000
  • 667ba72dbd Strip CT (Cascade Tag) from UIDs in nfc_initiator_select_tag(). Romain Tartiere 2010-03-30 16:05:01 +0000
  • 1214f31d2c Fix CT (Cascade Tag) byte when using 10 bytes long UID. Romuald Conty 2010-03-30 15:17:18 +0000