Commit Graph
100 Commits
Author SHA1 Message Date
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
Romuald Conty 4457a3e327 Fix current code to compile under Windows. Thanks to Fkooman 2009-09-04 08:32:32 +00:00
Romuald Conty 759db4d7a7 Update debian packages: "nfc-tools" renamed to "libnfc-examples". 2009-09-03 16:33:49 +00:00
Romuald Conty bd4a48990e Attempt to fix Issue 14 and Issue 16: allow DLL creation and add C++ compatibility. (WARNING: this fix couldnt be tested here.) 2009-09-03 15:24:12 +00:00
Romuald Conty 70ede60e30 Add NFCIP (NDEP) as experimental feature (Thanks to Fkooman). 2009-09-03 13:47:26 +00:00
Romuald Conty e92b8ab76f ARYGON APDB1UA33N works with the revision. 2009-09-03 12:26:54 +00:00
Romuald Conty d799098753 Put debug message at right place. 2009-09-03 11:44:56 +00:00
Romuald Conty d6868037c8 Add CMake configure option to not compile PC/SC support (defaults ON).
Sync variables in CMake file with current pkg-config file variables.
2009-09-03 09:21:52 +00:00
Romuald Conty 3e547300b0 Fix pkg-config file: libdir was wrong. 2009-09-03 09:16:55 +00:00
Romuald Conty 73ad4d0f83 Disable forced speed in rs232.c 2009-09-03 09:05:27 +00:00
Romuald Conty f5c401fb8c Remove DOS line endings. 2009-09-02 20:15:21 +00:00
Romuald Conty a552a596fb Add alternative build system (CMake). 2009-09-02 16:43:22 +00:00
Romuald Conty b16bc53025 Attempt to support ARYGON APDB (APDB1UA33N and APDB2UA33).
Code clean up.
2009-08-28 16:54:04 +00:00
Romuald Conty 710745262d Define useful messaging macros. WARNING: It use C99 syntax (__VA_ARGS__) and GNU extension (##), some tweaks may be needed to support non-C99 and non-GNU compiler. 2009-08-28 10:46:17 +00:00
Romuald Conty 0344b1aee2 Add doxygen comment to dev_callbacks struct. 2009-08-28 10:44:07 +00:00
Romuald Conty 379bc51241 Enhance autogen.sh script for debugging purpose: some autotools versions can be problem source. 2009-08-27 13:22:11 +00:00
Romuald Conty 0ea0ebe103 Import API documentation found at http://libnfc.org/libnfc/documentation/api in Doxygen format. 2009-08-27 10:49:45 +00:00
Romuald Conty 42d83fce56 Code cleanup for nfc-emulate, nfc-relay and nfc-anticol tools. 2009-08-26 10:57:38 +00:00
Romuald Conty 70cc04fe5f Fix Issue 8: DOS line endings in README file. Thanks! 2009-08-26 09:37:12 +00:00
Romuald Conty e05af04cce C99 standard can now be disabled by configure using "--disable-std-c99" flag. 2009-08-26 09:14:23 +00:00
Romuald Conty b08951a43e Attempt to fix rpath issue on linux platform (it is already deprecated in main distributions. i.e. http://wiki.debian.org/RpathIssue) 2009-08-26 08:54:39 +00:00
Romuald Conty 1ca94ca86c Fix Issue 7: wrong paths in pkg-config file. 2009-08-19 14:39:19 +00:00
Romuald Conty 2bf4393191 Add MIFARE Ultratag tool. (Many thanks to xxv) 2009-07-24 15:35:02 +00:00
Romuald Conty d6a4a2b422 Update ChangeLog, debian files and bump library version to 1.2.1. 2009-07-24 14:51:03 +00:00
Romuald Conty d777e801fc Update ChangeLog for 1.2.0 2009-07-23 14:45:50 +00:00
Romuald Conty 62e71024cf Bump library version to 1.2.0 2009-07-23 13:34:02 +00:00
Romuald Conty 23b32a7742 Actual "Windows" tarball is more related to "Visual Studio 2005" than "Windows". 2009-07-23 10:56:34 +00:00
Romuald Conty c92b437c69 Fix win32 paths in make_release.sh. 2009-07-23 10:40:24 +00:00
Romuald Conty 9e8ffea073 Fix license in debian files.
Add man pages in debian install.
2009-07-22 14:02:39 +00:00
Romuald Conty b8191e5896 MacOSX users can now use autotoolized version. 2009-07-22 13:26:52 +00:00
Romuald Conty 536268c287 Import portability branch as trunk 2009-07-22 13:23:19 +00:00
Romuald Conty 440fa38889 Fix PCSC headers path on MacOS. 2009-07-22 09:35:48 +00:00
Romuald Conty c0bcce387e Fix stupid mistake in autogen.sh. MacOSX users can now run ./configure without problem.
Add ChangeLog information for next release.
2009-07-22 09:27:59 +00:00
Romuald Conty e98e7d9415 Rename "byte" type into "byte_t" type. 2009-07-16 12:09:06 +00:00
Romuald Conty 3b8a414cd2 dev_callbacks_list should only get compiled into the libnfc library, not in every client application. (Thanks to snapdev) 2009-07-15 17:45:38 +00:00
Romuald Conty 45b2cfa258 Improve libusb detection if pkg-config is not present. 2009-06-30 13:30:31 +00:00
Romuald Conty db6375511d Improve MacOSX portability (again): many thanks to Daniel Macks <dmacks@netspace.org> from #fink irc channel. 2009-06-29 08:47:19 +00:00
Romuald Conty 658f24ba3e Improve MacOSX portability: many thanks to Daniel Macks <dmacks@netspace.org> from #fink irc channel. 2009-06-29 08:32:07 +00:00
Romuald Conty d5b1ccea6d Fix configure.ac 2009-06-29 06:58:40 +00:00
Romuald Conty 3c6f9c3a8c Install man pages with binaries. 2009-06-29 06:55:17 +00:00
Romuald Conty bb4d79735a Add manpages for nfc-tools. 2009-06-26 15:10:01 +00:00
Romuald Conty 0da43b6731 Add LICENSE and README files to releases produce by make_release.sh script.
Fix MacOSX Makefile embedded in MacOSX archive by make_release.sh.
Replace COPYING content with LGPLv3.
2009-06-26 09:22:26 +00:00
Romuald Conty c8adb1036a License have changed from GPLv3 to LGPLv3. 2009-06-26 09:05:25 +00:00
Romuald Conty b110b5b5a9 RS232 code rewrote: now we can use it on Windows. 2009-06-25 15:17:00 +00:00
Romuald Conty 645796d0b2 Add a simple script to simplify releases creation. 2009-06-25 14:53:48 +00:00
Romuald Conty 3b452f0185 Fix configure script on FreeBSD (Many thanks to Romain Tartière) 2009-06-17 16:07:32 +00:00
Romuald Conty f29fd29e64 Add debian files. 2009-06-16 08:03:49 +00:00
Romuald Conty bf5848e7a1 libnfc can now be compiled without pcsc-lite (but it removes acr122 device support) 2009-06-11 11:57:36 +00:00
Romuald Conty eccb9d3d3b Fix rs232.* under linux.
Fix merged code to be C99 compiliant.
Try to fix dev_arygon under linux (could not be tested here, sorry).
Try to fix MacOSX makefile (could not be tested here, sorry).
Adjust src/Makefile.am to compile/dist all new files.
2009-06-11 10:16:27 +00:00