Commit Graph
100 Commits
Author SHA1 Message Date
Romuald Conty d74e68a3fd Add nfc-utils.h to generated tarball. (make distcheck OK) 2010-04-15 17:36:43 +00:00
Romuald Conty 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)
2010-04-15 14:41:13 +00:00
Romuald Conty b747573dc7 PN532_UART readers could now poll using PN532 hardware feature. This commit should fix Issue 56 too. 2010-04-14 13:28:24 +00:00
Romuald Conty 064b7c4b41 Revert libnfc/drivers.h (from r371), this file should not have been commited (in r372).
Second pointy hat to: me again
2010-04-14 10:44:12 +00:00
Romuald Conty 0a08ef00c2 Fix recently changed wakeup function for pn532_uart driver.
Pointy hat to: me ;)
2010-04-14 10:39:18 +00:00
Romuald Conty a3f68b566d Raise up timeout value in UART, this is tricky (ugly?) hack to allow low speed UART device to run nfc-emulate. 2010-04-13 14:36:02 +00:00
Romuald Conty 2766cd8822 ARYGON readers could now poll using PN532 hardware feature. 2010-04-13 14:11:10 +00:00
Romuald Conty 332eed3596 nfc-poll: raise polling duration from 1500ms to 6000ms. 2010-04-13 14:07:29 +00:00
Romuald Conty 24e7b20d04 Add debug output when pnd->pdc->tranceive() failed. 2010-04-13 12:48:52 +00:00
Romuald Conty 29fad31ee5 Update ARYGON driver, it now support probing as PN532_UART. Communication should be faster (delays removed).
Note: ARYGON APPB2UA33 oem reader now works.
2010-04-12 14:51:50 +00:00
Romuald Conty a4d1c53ed3 Add wake up function for PN532 UART and run a communication test to know if device correctly respond. 2010-04-12 14:48:03 +00:00
Romuald Conty 1ba436041b Report found device number in debug mode. 2010-04-12 14:43:19 +00:00
Romuald Conty f693040ced Disable compiler code optimizations and turn on gdb support when --enable-debug is passed to configure. 2010-04-09 23:41:35 +00:00
Romuald Conty e886ef4f48 nfc-poll: Warn user when hardware does not support polling. 2010-04-09 23:38:05 +00:00
Romuald Conty c9370e6fac Prevent from running polling on hardware that does not support it. 2010-04-09 23:11:20 +00:00
Romuald Conty 71341b871e Minor comments added. 2010-04-09 23:09:20 +00:00
Romuald Conty 2714180227 Add new example to show how to use new polling function. 2010-04-09 16:21:25 +00:00
Romuald Conty 40f230d6f0 New API function (experimental): nfc_initiator_poll_targets() which allow to use hardware polling function. Warning: ATM, it only support ISO14443a targets. 2010-04-09 16:20:47 +00:00
Romuald Conty 4128b23f86 Add new function pn53x_decode_target_data() that fill nfc_target_info_t with TargetData byte stream. 2010-04-09 16:18:42 +00:00
Romuald Conty bc4c34f851 Add two new types: nfc_target_type_t and nfc_target_t. 2010-04-09 16:16:17 +00:00
Romuald Conty af9f744390 Add a simple function to print nfc_iso14443a_info_t structure. 2010-04-09 16:11:21 +00:00
Romuald Conty e9451f71f2 Add details on nfc_initiator_select_dep_target() fct params (enhance documentation). 2010-04-09 15:11:42 +00:00
Romuald Conty 495de91e13 Fix documentation build. 2010-04-09 15:08:36 +00:00
Romuald Conty 25b49f7879 Fix mis-initialized ATS field when filling-in nfc_target_info_t structure (wrong source address in memcpy()) 2010-04-08 16:20:03 +00:00
Romuald Conty ab028ab4e2 Add FIXME related to Issue 61. 2010-04-08 16:13:12 +00:00
Romuald Conty 9c43e75691 Redo r336. (Missed at r340) 2010-04-07 16:30:16 +00:00
Romuald Conty 3a0d05d15a Minor headers ajustments. 2010-04-07 14:47:53 +00:00
Romuald Conty bedaf12b0e Fix releaser script according to the new sources tree. 2010-04-07 14:46:46 +00:00
Romuald Conty be1639b452 Prepare libnfc 1.3.4 (ChangeLog) 2010-04-06 21:19:40 +00:00
Romuald Conty 02a29920fc Prepare libnfc 1.3.4 2010-03-31 14:07:13 +00:00
Romuald Conty d3796b6531 Attempt to be able to compile using manual makefile AND with CMake 2010-03-31 14:03:12 +00:00
Romuald Conty 12e4d3c822 Minor tweak in make_release.sh script 2010-03-31 13:54:31 +00:00
Romuald Conty 23f2adb433 Fix missing ";".
Pointy hat to Romain ;-)
2010-03-31 10:16:26 +00:00
Romuald Conty a78cae1c15 Export ISO14443A CRC function. Thanks to Romain Tartière. 2010-03-31 10:09:06 +00:00
Romuald Conty 1214f31d2c Fix CT (Cascade Tag) byte when using 10 bytes long UID. 2010-03-30 15:17:18 +00:00
Romuald Conty 85afbd40ca Fix nfc-types documentation. 2010-03-25 19:12:31 +00:00
Romuald Conty ba5dbb05d5 Put an annoying message in debug mode only. 2010-03-25 14:55:28 +00:00
Romuald Conty 17dda85c71 Add README for Windows compilation using win32/Makefile.
Rename README-Windows.txt (compilation using CMake) into CMake-Windows.txt
2010-03-25 09:28:09 +00:00
Romuald Conty b3c055fa5f Typo. 2010-03-25 09:03:41 +00:00
Romuald Conty c203ce837c Prevent from annoying message when probing nfc devices. 2010-03-11 14:42:58 +00:00
Romuald Conty 738885cc1a Prepare 1.3.3 2010-02-17 15:02:03 +00:00
Romuald Conty 63262331c6 Suppress warnings due to unused variable. 2010-02-17 14:57:03 +00:00
Romuald Conty d97d017853 Move variable declarations at the beginning of function body to be able to compile using a stupid^W non C99 conform compiler under a non standard OS... 2010-02-17 14:48:41 +00:00
Romuald Conty e0d8e80b76 Add _DARWIN_C_SOURCE define to activate all library features on MacOS 2010-02-17 14:12:38 +00:00
Romuald Conty 0b962a3b3b Move sys/select.h include in the non-windows part.
Update copyright headers.
2010-02-10 15:20:13 +00:00
Romuald Conty 2a33e28db9 Add workaround for libusb while using CMake. 2010-02-09 16:10:45 +00:00
Romuald Conty e2e6c6cacc We should only use C99 types when available. This could fix a compilation issue reported at http://www.libnfc.org/community/post/770 2010-02-09 15:50:52 +00:00
Romuald Conty d0610be25c Improve nfc-relay to use nfc_list_devices() capabilities. This should fix Issue 64. 2010-02-09 15:39:56 +00:00
Romuald Conty 4bca43508b Remove platform specific, and non-needed, headers. 2010-02-08 11:52:33 +00:00
Romuald Conty e933f505e2 Add some Build-Depends to debian files. 2010-02-08 11:49:14 +00:00
Romuald Conty 08cfcc30b0 Add some quotes to prevent from expanding. 2010-02-08 11:48:23 +00:00
Romuald Conty ec9a13a2c3 Attach CMake files in generated archive. 2010-01-29 15:33:34 +00:00
Romuald Conty fa04c46cf7 Oops, typo. 2010-01-29 15:06:31 +00:00
Romuald Conty 22a0c4f99e Prepare 1.3.2 2010-01-29 15:05:11 +00:00
Romuald Conty f09c9a3764 Fix compiler warnings, fix issue 52. 2010-01-29 15:04:32 +00:00
Romuald Conty d642b59300 Updated Debian package changelog. 2010-01-29 14:36:32 +00:00
Romuald Conty d7aeb8fb5b Prepare 1.3.1 2010-01-19 15:52:45 +00:00
Romuald Conty 2d4bdf28a1 Serial autoprobing is now DISABLED as default, fix Issue 58. 2010-01-18 11:23:07 +00:00
Romuald Conty 1e2ccbf9ff Clean up after building doc archive. 2010-01-18 11:20:38 +00:00
Romuald Conty abdc67ff4e Improve releaser script by adding documentation generation. 2010-01-18 10:30:11 +00:00
Romuald Conty 2ebafcffaf Description changed for Debian. 2010-01-18 10:29:23 +00:00
Romuald Conty 2e5236561e Oups, typo. 2010-01-15 09:59:59 +00:00
Romuald Conty f057b26afa Another fix for Windows zip generation. 2010-01-14 16:44:07 +00:00
Romuald Conty 99c2a0aaf5 Update ChangeLog. 2010-01-14 16:33:08 +00:00
Romuald Conty de8efd6855 Add missing files in windows archive. 2010-01-14 16:04:48 +00:00
Romuald Conty 4ad52aba57 Minor typo in debian files. 2010-01-14 15:58:58 +00:00
Romuald Conty 9ca2d3abfc Update tarballs generation script. 2010-01-14 15:54:55 +00:00
Romuald Conty 762079d066 Include config.h must be used with HAVE_CONFIG_H define. 2010-01-14 15:53:49 +00:00
Romuald Conty f6a3ee94be Update Doxyfile.in using doxygen -u as suggested by Doxygen during doc compilation. 2010-01-13 14:18:40 +00:00
Romuald Conty e4ca9245ec C99 compiler is a requirement so we don't need --enable-std99 anymore.
Define _XOPEN_SOURCE 600 using config.h
2010-01-12 17:58:13 +00:00
Romuald Conty 0b720d30cd Avoid BUFSIZ usage since it will be a HUGE buffer under linux (8192 bytes). 2010-01-12 12:47:26 +00:00
Romuald Conty f0acc73541 Fix compilation warnings. Fix Issue 52. 2010-01-12 12:36:43 +00:00
Romuald Conty e2336b8b90 Add mainpage, and fex useful pages, to generated documentation. 2010-01-12 12:03:20 +00:00
Romuald Conty 864a482e88 Minor code cleanup. 2010-01-12 11:50:09 +00:00
Romuald Conty 9cc3dca98b Improve Doxygen generation.
Move doxygen comment from header to source (make installed header more cleaner).
2010-01-10 18:14:26 +00:00
Romuald Conty 377caecefe Allow all ACS ACR122U to be detected as valid NFC device. 2010-01-03 12:48:21 +00:00
Romuald Conty 2079016a04 Remove autoreconf warnings by adding m4 directory 2009-12-20 19:14:41 +00:00
Romuald Conty 20df0d785d Speed up PN532_UART driver by removing useless delay. Thanks to Zuck for issue reporting. 2009-12-09 10:32:55 +00:00
Romuald Conty 1909518572 Fix NFC device autodetection. 2009-12-07 13:53:15 +00:00
Romuald Conty 5b767ec91e Improve debug messages.
Small fix in ACR122 driver.
2009-12-03 21:24:06 +00:00
Romuald Conty e5ba266420 Add list_devices capabilities to PN532_UART driver. Note: Theses functions exists for this driver only for convenience, please note that it can be anoying if there are others devices plugged on UART (ie. ttySx, ttyUSBx, COM, etc.) 2009-12-03 15:57:13 +00:00
Romuald Conty b29860a93c Re-enable "Disable serial autoprobe" option with CMake. 2009-12-01 13:28:15 +00:00
Romuald Conty 56219ced36 Fix CMake build. 2009-12-01 11:39:35 +00:00
Romuald Conty f9f49cc0d0 Fix r217 build. 2009-12-01 10:44:31 +00:00
Romuald Conty 8a3b8bb3c9 - Avoid null pointers in the USB structures in some circumstances with Windows and libusb;
- In case of error, don't stop but look for other readers (was partly done, now on all errors)
 - In case of error on a specifically requested reader, fail & stop, don't look further.
2009-12-01 10:07:30 +00:00
Romuald Conty a56a217ca9 Support for the generic vendorid/productid of the NXP chip. 2009-12-01 09:45:01 +00:00
Romuald Conty 0286eeecdd Simply turns off the RF field upon exit. 2009-12-01 09:31:29 +00:00
Romuald Conty 3ff80e55c4 Fix Issue 48: nfc-mfultralight's output should be more clear (Thanks to Zuck) 2009-11-27 17:02:53 +00:00
Romuald Conty 9b2246930e Fix Issue 38: nfc-mfclassic's output should be more clear (Thanks to Zuck) 2009-11-27 16:51:39 +00:00
Romuald Conty 0f0c9abe24 Prepare next release.
Update Debian packages.
Set svn:ignore properties.
2009-11-27 15:44:25 +00:00
Romuald Conty d90ed8632a Updated ChangeLog. 2009-11-27 11:56:44 +00:00
Romuald Conty cd25d4af06 Import multibus branch as trunk. 2009-11-27 11:15:59 +00:00
Romuald Conty 17eff8863c nfc-relay: Initialize initiator device explicitly. 2009-11-20 16:09:04 +00:00
Romuald Conty d4d5c5495e nfc-relay: Capture ctrl-c for quitting cleanly the relay attack application. 2009-11-20 16:06:51 +00:00
Romuald Conty e5d685a23d nfc-relay: exit properly if emulator initialization failed. 2009-11-20 15:54:04 +00:00
Romuald Conty f85c91a04e Less confusing message for bitstreams display. 2009-11-20 15:50:49 +00:00
Romuald Conty 7e26ce3471 Add new files usefull for desktop GNU/Linux users: some rules for udev to allow non-root access to PN53x USB devices. 2009-11-20 15:47:36 +00:00
Romuald Conty 9526d5debc Lets search continuing to find other USB readers if any in PN531 and PN533 USB drivers. 2009-11-20 15:39:52 +00:00
Romuald Conty 790fc0da1e Support for the generic vendorid/productid of the NXP chip. 2009-11-20 15:37:07 +00:00
Romuald Conty 5dc68e68ca Simply turns off the RF field upon exit. 2009-11-20 15:35:09 +00:00