Commit Graph

  • 7dd1053d03 Fix incorrect selected targets size in pn53x_InListPassive(). Romuald Conty 2010-07-23 12:45:21 +00:00
  • 3f17e5e032 Minor indentation fix. Romuald Conty 2010-07-23 12:41:29 +00:00
  • aca1eb40a8 Comment out extern symbol related to PN53x in nfc.c; The goal is to remove all of them from nfc.c Romuald Conty 2010-07-22 16:24:24 +00:00
  • d932cd8450 Move some PN53x related code from nfc.c to pn53x.c Romuald Conty 2010-07-22 16:21:59 +00:00
  • 424a48714f Minor documentation improvements. Romuald Conty 2010-07-22 16:16:37 +00:00
  • c4bb23631b Do not export nfc_parse_device_desc() in libnfc API. Romuald Conty 2010-07-22 16:13:02 +00:00
  • 4bc522cd1e First prototype of argument parsing for device description (issue #87). Emanuele Bertoldi 2010-07-22 13:41:20 +00:00
  • 7945dd18fa Enhance 'make indent'. Romain Tartiere 2010-07-21 22:32:02 +00:00
  • 67fb1330f8 Rework the indent target. Romain Tartiere 2010-07-21 13:09:48 +00:00
  • 2688de6500 API 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
  • d97876714c Add indent directive in root Makefile. Romuald Conty 2010-07-20 13:38:58 +00:00
  • 0a87c18e7e nfc-mfultralight: we now can write OTP bytes if user want to. Romuald Conty 2010-06-30 15:06:59 +00:00
  • 379066f069 nfc-mfultralight: on write failure, continue if authenticate works. Romuald Conty 2010-06-30 14:54:34 +00:00
  • d8f12035fc Add missing carriage return at EOF (yes, I have nothing better to do ATM). Romain Tartiere 2010-06-26 21:56:32 +00:00
  • 596733bacc nfc-mfultralight: Fix messages, we read/write pages not blocks. Romuald Conty 2010-06-24 11:04:05 +00:00
  • 688ebe2324 Re-ident examples/nfc-mfultralight.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2" command line. Romuald Conty 2010-06-24 10:19:01 +00:00
  • 470dd8be05 nfc-mfultralight: Fix read and write counters. Code cleanup. Romuald Conty 2010-06-24 10:16:09 +00:00
  • 2e1fa09166 Set svn:ignore property on nfc-sam example. Romuald Conty 2010-06-16 12:12:31 +00:00
  • e6d96333f7 nfc-sam: added some config operations. Emanuele Bertoldi 2010-06-16 11:40:23 +00:00
  • f748ec1c59 nfc-sam: added FIXME notes. Emanuele Bertoldi 2010-06-16 11:34:55 +00:00
  • 391d066095 nfc-sam: improved output and error messages. Emanuele Bertoldi 2010-06-16 11:32:16 +00:00
  • 3f6109af52 Cleanup. Emanuele Bertoldi 2010-06-16 11:23:13 +00:00
  • b2089e8bb0 nfc-sam: better connection management. Emanuele Bertoldi 2010-06-16 11:21:27 +00:00
  • d593a8e4c9 Added use of nfc-messages. Emanuele Bertoldi 2010-06-16 09:48:26 +00:00
  • f7c31885f5 Move 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
  • db735ab224 Prevent from sources files being executable. Romuald Conty 2010-06-15 15:32:58 +00:00
  • 4b5d3913d9 Cleanup. Emanuele Bertoldi 2010-06-15 15:10:11 +00:00
  • 8e4bef9c90 Added draft of a new libnfc-based example: nfc-sam. Emanuele Bertoldi 2010-06-15 15:05:40 +00:00
  • ec48f04dd8 Bump package version to 1.3.9 since trunk looks like 1.4.x series. Romuald Conty 2010-06-07 13:33:33 +00:00
  • 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 +00:00
  • 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 +00:00
  • 8bac5355dd This should fix Issue 83. Romuald Conty 2010-06-07 08:16:27 +00:00
  • 2e39e56e17 Return value of pn53x_usb_list_devices() must bool, not void* Romuald Conty 2010-05-28 09:55:13 +00:00
  • 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 +00:00
  • 07a779c880 Add a small example to diagnose basic elements (communication, rom and ram) of pn53x. Romuald Conty 2010-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 Conty 2010-05-18 10:57:38 +00:00
  • cf0c2dd9f2 Fix ATS lenght in pn53x_decode_target_data(). Romuald Conty 2010-05-18 10:55:18 +00:00
  • 8c1815fbea Move variable declarations in order to compile using non-C99 compiler. Fix Issue 80. Romuald Conty 2010-05-18 08:27:50 +00:00
  • 404dfba6e8 usb_release() must be called before usb_reset(). Fix Issue 81 (Thanks to thaolx). Romuald Conty 2010-05-18 08:13:26 +00:00
  • 9941191cfc Fix build when configured with --enable-debug. Romain Tartiere 2010-04-28 12:55:00 +00:00
  • 1b7a7a4be1 Fix Issue 79. Libtool now handle library creation. Romuald Conty 2010-04-27 15:28:41 +00:00
  • 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 +00:00
  • a98cd3837b CMake: fix win32 paths and remove hardcoded definitions. Romuald Conty 2010-04-26 14:50:52 +00:00
  • 6f04f3cb92 Windows zip archive with manual makefile is not generated anymore. Romuald Conty 2010-04-26 13:40:42 +00:00
  • c2cead7089 Remove "manual" Windows makefile: Windows users should now use CMake. Romuald Conty 2010-04-26 13:38:17 +00:00
  • 693389ac10 Move additionnal files (for Windows) in contrib/ Romuald Conty 2010-04-26 13:36:41 +00:00
  • 16786c61e3 Remove bitutils I reverted instead of removing in r412. Romain Tartiere 2010-04-26 13:20:57 +00:00
  • b28abd77b0 Merge the libnfc-less-bitutils-more-ponies branch into trunk. Romain Tartiere 2010-04-26 13:13:13 +00:00
  • 00af8b7ae1 Fix ${DRIVERS_SOURCES} modifications. Romain Tartiere 2010-04-26 13:05:21 +00:00
  • e45a0943e8 Change to way to handle DRIVERS_SOURCES in CMake. Romuald Conty 2010-04-26 13:00:41 +00:00
  • 27ccf67503 Reorganize CMake sections. Romuald Conty 2010-04-26 12:59:23 +00:00
  • 194faf56fb make_release: Add a cleaning section. Romuald Conty 2010-04-26 12:58:17 +00:00
  • 854cfe15ec Fix ARYGON detection. Rename acConnect to acPort. Now use snprintf and strncpy (see Issue 78) Romuald Conty 2010-04-22 10:22:41 +00:00
  • 3e16031877 Fix ARYGON driver build (missing comma). Romuald Conty 2010-04-22 09:01:22 +00:00
  • 367e14dcc0 Prevent from potential buffer-overflows. Romuald Conty 2010-04-21 10:58:04 +00:00
  • fa1f9a1ff6 Fix device name: snprintf could not be used to append something to source string. Romuald Conty 2010-04-21 10:50:29 +00:00
  • d9ec086beb Replace some sprintf with snprintf to prevent from buffer-overflow. Romuald Conty 2010-04-21 10:23:11 +00:00
  • ce6f7f2c84 Fix potential UART speed problem while autoprobing. Extract communication test from pn532_uart_wakeup(). Romuald Conty 2010-04-21 10:19:26 +00:00
  • 67fd8ecd0e Unix-like system's developer should use 'autoreconf -vis' instead of './autogen.sh'. Romuald Conty 2010-04-20 20:23:14 +00:00
  • f05e432df8 Fix autogen.sh usage on MacOS X. Romuald Conty 2010-04-20 20:20:27 +00:00
  • 942dcfa631 PN532_UART: prevent from blocking when device doesn't reply correctly to wakeup command. Romuald Conty 2010-04-20 15:05:57 +00:00
  • e3ff11eb46 Fix warnings "no previous prototype for ..." on bitutils.[hc] Romuald Conty 2010-04-20 09:44:27 +00:00
  • 9abb29f1d1 nfc-mfultralight: fix warnings about prototypes. Fix Issue 77. Romuald Conty 2010-04-20 09:28:19 +00:00
  • 7762814eda nfc-mfclassic: fix warnings about prototypes. Fix Issue 76. Romuald Conty 2010-04-20 09:25:18 +00:00
  • 75cc48e460 nfc-mfclassic: fix warnings "no previous prototype for...". Fix Issue 75. Romuald Conty 2010-04-20 09:05:23 +00:00
  • 03eec8fab6 nfc-anticol: fix warnings "no previous prototype for...". Fix Issue 74. Romuald Conty 2010-04-20 09:04:20 +00:00
  • 2ab522950f Remove uart_cts() since the function is defined but never used. Fix Issue 71 Romuald Conty 2010-04-20 08:48:41 +00:00
  • 778ac87b37 Add drivers selection to CMake build. Fix Issue 70 Romuald Conty 2010-04-20 08:45:31 +00:00
  • 204130477e (libnfc-less-bitutils-more-ponies) MFT Romain Tartiere 2010-04-17 13:45:00 +00:00
  • be3f152d3c Fix a few more warnings. Romain Tartiere 2010-04-17 13:42:08 +00:00
  • 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 +00:00
  • 3e8e1c8844 Fix build on Windows (using cmake and nmake). Romain Tartiere 2010-04-16 20:39:56 +00:00
  • 3820c34f28 (libnfc-less-bitutils-more-ponies) MFT Romain Tartiere 2010-04-16 19:27:49 +00:00
  • 0e6719908b (libnfc-less-bitutils-more-ponies) Update CMakeLists.txt. Romain Tartiere 2010-04-16 17:42:00 +00:00
  • 3dccc218df Enable drivers in cmake again (disabled implicitly in r375). Romain Tartiere 2010-04-16 17:35:00 +00:00
  • 39761badb7 Fix cmake breakage introduced in r360: undefined reference to `print_nfc_iso14443a_info' Romain Tartiere 2010-04-16 17:20:22 +00:00
  • 5e452dbb13 Fix 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
  • 5302930b09 Avoid using a 'comma pasting' GNU extension (non-portable, reported my clang). Romain Tartiere 2010-04-16 14:50:48 +00:00
  • 0b301d8ff6 Add missing documentation lines. Romain Tartiere 2010-04-16 13:00:33 +00:00
  • 7b65174856 Remove deprecated DEBUG_CFLAGS. Romain Tartiere 2010-04-16 12:58:29 +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 Tartiere 2010-04-15 23:11:36 +00:00
  • d74e68a3fd Add nfc-utils.h to generated tarball. (make distcheck OK) Romuald Conty 2010-04-15 17:36:43 +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 Conty 2010-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 Conty 2010-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 Conty 2010-04-14 10:44:12 +00:00
  • 0a08ef00c2 Fix recently changed wakeup function for pn532_uart driver. Pointy hat to: me ;) Romuald Conty 2010-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 Conty 2010-04-13 14:36:02 +00:00
  • 2766cd8822 ARYGON readers could now poll using PN532 hardware feature. Romuald Conty 2010-04-13 14:11:10 +00:00
  • 332eed3596 nfc-poll: raise polling duration from 1500ms to 6000ms. Romuald Conty 2010-04-13 14:07:29 +00:00
  • 24e7b20d04 Add debug output when pnd->pdc->tranceive() failed. Romuald Conty 2010-04-13 12:48:52 +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 Conty 2010-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 Conty 2010-04-12 14:48:03 +00:00
  • 1ba436041b Report found device number in debug mode. Romuald Conty 2010-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 Conty 2010-04-09 23:41:35 +00:00
  • e886ef4f48 nfc-poll: Warn user when hardware does not support polling. Romuald Conty 2010-04-09 23:38:05 +00:00
  • c9370e6fac Prevent from running polling on hardware that does not support it. Romuald Conty 2010-04-09 23:11:20 +00:00
  • 71341b871e Minor comments added. Romuald Conty 2010-04-09 23:09:20 +00:00
  • 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 +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 Tartiere 2010-04-09 22:03:52 +00:00