Commit Graph
100 Commits
Author SHA1 Message Date
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
Romuald Conty 1e5658eeba Make distcheck OK.
Add SVN revision to libnfc version (if available).
2009-11-20 13:43:18 +00:00
Romuald Conty 877176c98f Attempt to extract PN53x related code for nfc.c.
multichip> chips sub-folder introduction with pn53x.h/c.
2009-11-20 11:27:07 +00:00
Romuald Conty 483c69dd03 Rename tag_info to nfc_target_info_t.
Rename init_modulation to nfc_modulation_t.
2009-11-18 11:52:18 +00:00
Romuald Conty 2feedddbfe Rename dev_config_option to nfc_device_option_t.
Use NULL instead of INVALID_DEVICE_INFO to know if device is valid (all occurences are now replaced).
2009-11-18 11:11:06 +00:00
Romuald Conty 2a0ff6c5d0 Rename chip_type to nfc_chip_t.
Rename dev_spec to nfc_device_spec_t.
Update configure.ac and autotools related files.
2009-11-18 10:52:13 +00:00
Romuald Conty 8a579c3aab merge with trunk r183:184. 2009-11-18 09:35:50 +00:00
Romuald Conty aa8bb42d9f Remove nfc-defines.h public header.
Use NULL instead of INVALID_DEVICE_INFO to know if device is valid.
Make distcheck OK
2009-11-10 09:47:59 +00:00
Romuald Conty 9fccd11fc7 merge with trunk r178:179. 2009-11-09 13:30:59 +00:00
Romuald Conty 854dc3aceb Prefix defines.h, messages.h and types.h headers by "nfc-"
Rename dev_info struct to nfc_device_t
Some code cleanup
Rename pn531.h/c to pn531_usb.h/c
Rename pn533.h/c to pn533_usb.h/c
2009-11-09 11:23:33 +00:00
Romuald Conty fabdf4214a Fix Issue 46 and Issue 47. Many thanks to ud. 2009-11-09 09:39:38 +00:00
Romuald Conty 9ce99b80d3 Import newtree branch as trunk 2009-11-04 14:58:23 +00:00
Romuald Conty 473965d3a6 It now works on MacOS. 2009-11-04 14:55:24 +00:00
Romuald Conty c9689c74fb It cow compile using CMake. 2009-11-04 12:03:49 +00:00
Romuald Conty 06a76f6470 Attempt to make it works on MacOS. Small fixes. CMake work started. 2009-11-04 10:42:53 +00:00
Romuald Conty 14a9112dea It now compile using Autotools. 2009-11-04 10:14:17 +00:00
Romuald Conty 4a5945e67d Third attempt to reorganize tree. 2009-11-03 15:53:35 +00:00
Romuald Conty 507991ac2b Second attempt to reorganize tree 2009-11-03 15:20:36 +00:00
Romuald Conty ab62855d80 First attempt to reorganize tree. 2009-11-03 14:51:14 +00:00
Romuald Conty 36cb0ff5f9 Fix Issue 39. Thanks to Francois Kooman for report. 2009-11-03 08:35:27 +00:00
Romuald Conty 9d7369e234 Fix Issue 45: nfc_target_init doesn't correctly reset the parity during initalization. Thanks to Mike Auty. 2009-11-02 17:06:55 +00:00
Romuald Conty 49ca2acf91 "make distclean" remove more generated files. 2009-11-02 17:05:59 +00:00
Romuald Conty 39a1e1fd11 Add function to return library version at execute time. Fix Issue 39. Thanks to Zuck for his contribution.
Remove compilation warning due to missing includes in examples.
2009-11-02 14:05:03 +00:00
Romuald Conty edec0ae3da Attempt to fix Issue 44. 2009-11-02 11:50:40 +00:00
Romuald Conty c6a7e2bf47 Rename nfc-mftool to nfc-mfclassic.
Rename nfc-mfultool to nfc-mfultralight.
Remove compilation warnings due to missing includes.
"make distclean" now clean Makefile.in.
2009-11-02 11:34:58 +00:00
Romuald Conty cd43b758d4 Fix Issue 36. Thanks to Roger Brown. 2009-11-02 08:19:33 +00:00
Romuald Conty 5a7c561d48 Add C++ compatibility, this fix Issue 16. 2009-11-02 07:46:29 +00:00
Romuald Conty cc5545e8b4 Include missing examples headers when "make install". 2009-10-29 16:44:58 +00:00
Romuald Conty 4962f932fb Update nfc-mftool output with new available action. 2009-10-27 11:54:44 +00:00
Romuald Conty b791951a45 Fix tag re-selection with UID lenght > 4 bytes (like DESFire or Ultralight). 2009-10-27 11:53:28 +00:00
Romuald Conty 30835317c2 Add new action in nfc-mftool. Its now possible to extract payload (data blocks) from a MFD
Fix minor bug message in nfc-mftool.
2009-10-26 13:37:12 +00:00
Romuald Conty 1a72b81065 Cleanup nfc-mftool's output. 2009-10-21 15:05:17 +00:00
Romuald Conty 7b1999d8fb Add (dirty) code to wakeup for PN532C106. 2009-10-20 15:37:42 +00:00
Romuald Conty 91aceadf4f Put debug and error messages in stderr. 2009-10-20 15:36:22 +00:00
Romuald Conty 4a03864bea Add "make html" directive: it will build API documentation using Doxygen. (--enable-doc flag is required at configure time) 2009-10-20 10:19:31 +00:00
Romuald Conty d3ddf40484 Fix typo.
Add doxygen detection and --enable-doc flag to ./configure.
2009-10-13 12:43:52 +00:00
Romuald Conty 0ba0a10f74 Update msinttypes up to revision 26. 2009-10-12 14:59:57 +00:00
Romuald Conty 30b0a20973 Reformat copyright banner.
Add @file doxygen comment to each file.
Partially Issue 40.
2009-10-12 14:52:26 +00:00
Romuald Conty 32cd8559b4 Remove not needed #include in libnfc.h.
Minor change in version format.
2009-10-06 16:01:06 +00:00
Romuald Conty b9f834dd57 Add PN532 UART driver. 2009-10-06 10:38:57 +00:00
Romuald Conty 4f7ad56d1b Attempt to fix CMake compilation. 2009-10-06 10:01:18 +00:00
Romuald Conty ab727defb7 Update man page for nfc-mftool.
Add man page for nfc-mfultool. (Fix Issue 25)
2009-10-06 09:15:25 +00:00
Romuald Conty 6aae96e1e1 Move examples into src/examples subdirectory.
Change examples names to nfc-* (or nfcip-*).
2009-10-06 08:32:50 +00:00
Romuald Conty de537473a0 Fix compilation bug introduced in r137. 2009-10-05 15:20:42 +00:00
Romuald Conty 881ef6c319 Examples help messages now use argv[0] to determine their name.
MIFARE examples (mftool and mfultool) have now a better help message.
2009-10-05 15:01:08 +00:00
Romuald Conty dd34bfbf75 Append SVN revision to library version. 2009-10-05 14:51:09 +00:00
Romuald Conty 88a4ae8043 Code cleanup, it removes some warnings and should fix Issue 35. 2009-10-05 09:12:48 +00:00
Romuald Conty 4426599638 Fix remaining length parmeters from uint32_t to size_t (Should fix Issue 32 and fix Issue 37) 2009-10-05 08:43:43 +00:00
Romuald Conty e1a58e18d9 Changed remaining length parmeters from uint32_t to size_t (Should fix Issue 32). 2009-10-02 13:41:49 +00:00
Romuald Conty 979f1fa518 WARNING: API changed ! Some variable name have been changed to match with coding convention.
Changed length parmeters from uint32_t to size_t (Fix Issue 32).
Code cleanup.
2009-10-02 09:52:02 +00:00
Romuald Conty ad36a4d1a5 Debian files don't use CDBS anymore, it should now cross compile. 2009-09-29 13:10:17 +00:00
Romuald Conty b3c54f3fce Add missing include in dev_pn531.c. Fix Issue 28 2009-09-27 16:11:15 +00:00
Romuald Conty 9205db8599 Add few Doxygen comments. 2009-09-24 14:33:42 +00:00
Romuald Conty 56a2f4283a libnfc-svn: Add missing dependencies for ACR122 devices (pcscd). 2009-09-23 18:44:25 +00:00
Romuald Conty 047b7d2006 Add rs232_get_speed function. (Thanks to Zuck)
Add missing RS232 functions for Windows. Not yet tested (Thanks to Zuck)
Add comment about timing problem using ARYGON readers.
2009-09-21 14:57:55 +00:00
Romuald Conty e71116be0a Fix rs232 flush on opening serial port. 2009-09-17 14:41:37 +00:00
Romuald Conty 2761b66d6a Fix delay for ARYGON devices at 9600 bauds. 2009-09-17 09:57:16 +00:00
Romuald Conty 84fd09c281 Flush input hardware buffer on serial port opening (WARNING: Had to be done in Windows part.)
Make sure that returned RX buffer length of rs232_receive() is set in each case. (WARNING: Had to be done in Windows part.)
Clean up dev_arygon.c to fit with coding conventions.
2009-09-17 08:48:05 +00:00
Romuald Conty 61760cc853 Allow ARYGON APDB µC equipped (APDB2UA33) to work with libnfc. (WARNING: some stability issues remains and it works only on POSIX). 2009-09-14 15:05:02 +00:00
Romuald Conty 0977dd1c0b Fix CMake pkg-config generation: "Requires:" is now dynamic.
Fix devices.h, #endif should not be followed by the name of the block.
Fix CMake libnfc_usb compilation.
Rename tools to examples in CMake file.
(This patch comes from Fkooman, thanks !)
2009-09-14 08:47:31 +00:00
Romuald Conty e2dc2c133a Fix "Requires: " section in pkg-config file when libusb or libpcsclite were disabled. 2009-09-10 13:18:51 +00:00
Romuald Conty 6634d185bb Add ./configure option to disable libusb (removes PN531USB and PN533USB support).
Enhance "./configure --help" options descriptions.
2009-09-10 10:39:25 +00:00
Romuald Conty 3ec00eb06c libusb dependency can be disabled using CMake files - but it remove PN531USB and PN533USB support - this is useful for Windows newer than XP. (Thanks to Fkooman) 2009-09-10 09:28:17 +00:00
Romuald Conty 9e60b6e392 Add 10ms delay for ARYGON-APDB (PN532 based): some stability issues when reading a tag many times. 2009-09-09 13:43:16 +00:00
Romuald Conty a58ac6926d Update CMake files in order to be able to compile under Windows 64bits. (Thanks to Fkooman) 2009-09-09 12:32:41 +00:00
Romuald Conty 831dbd31a4 Update CMake files in order to correcly find libraries on Windows 64bits platform. (Thanks to Fkooman)
Add Windows README file. (Thanks to Fkooman)
2009-09-09 07:51:11 +00:00
Romuald Conty 7924d10fad Prevent from exporting messages macros outside of libnfc. 2009-09-08 10:25:59 +00:00
Romuald Conty b73d9f03fa CMake: reenable the broken tools in Windows.
Add some more exports to bitutils to make compilation succeed. (Thanks to Fkooman)
2009-09-08 08:17:37 +00:00
Romuald Conty 67aa84ad76 Code cleanup. 2009-09-08 08:14:36 +00:00
Romuald Conty 30c2fc4c93 Remove getopt dependency (to be able to compile under Windows). This fix Issue 12.
Some code cleanup.
2009-09-07 10:15:34 +00:00
Romuald Conty 36a4eb208f CMake: Make disable serial probe configurable in GUI.
CMake: Add sources of getopt tools to all builds except windows. (Thanks to Fkooman)
2009-09-07 08:44:24 +00:00
Romuald Conty 7e4512fa68 Better approach to handle C++ on Windows. Thanks to Fkooman. 2009-09-04 14:04:45 +00:00
Romuald Conty dbf48890ac Fix some some buffer synchronization problems under POSIX system: Issue 17. Thanks to zuck. 2009-09-04 13:48:06 +00:00
Romuald Conty be55ba2955 WARNING: API changed: nfc_connect() now take one argument. Have a look at nfc-list example (list.c) or at directly at function Doxygen comment (libnfc.h).
Add configure option: --disable-serial-autoprobe to fix Issue 2 (Autotools and CMake).
Fix Issue 11: it is now possible to specify a wanted device using new struct "nfc_device_desc_t".
Code cleanup.
2009-09-04 13:24:34 +00:00
Romuald Conty ecb406b4ea Dirty hack to export symbols used by examples. IMHO libnfc should not export theses functions, they aren't related to NFC. 2009-09-04 08:37:03 +00:00
Romuald Conty 63bad72a4c Fix CMake files to compile NFCIP examples and fix include directory. 2009-09-04 08:34:08 +00:00