Commit graph

235 commits

Author SHA1 Message Date
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
Roel Verdult
4e0750241c mftool default-keys patch 2009-10-05 12:47:00 +00:00
Roel Verdult
0fc0cabe02 mftool default-keys patch, libusb-support win32 makefilesds 2009-10-05 12:46:03 +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
Roel Verdult
5a77ad7a1e WIN32: fixed export issues that involves executables linking DYNAMICLY to libnfc.dll 2009-09-30 09:47:12 +00:00
Roel Verdult
28a9f981cb added compilation of nfc-mfultool, nfc-initiator and nfc-target 2009-09-29 22:11:03 +00:00
Roel Verdult
9e64da64f4 removed winscard.lib (Windows SDK contains this), added x64 (link)library-stub for libusb 2009-09-29 22:05:17 +00:00
Roel Verdult
406b670418 fixed x64 (out-of-the-box) compiling, tweaked 'make clean' 2009-09-29 22:01:17 +00:00
Roel Verdult
8967e0f67f fixed header location for compilation with Microsoft Windows SDK v7.0 2009-09-29 16:03:30 +00:00
Roel Verdult
5a311cfbfe removed const-warning 2009-09-29 15:26:10 +00:00
Roel Verdult
3cbdca1ef6 removed const-warning, fixed (windows) executable-namess, 2009-09-29 15:25:44 +00:00
Roel Verdult
5aab7f9da0 Added windows (GNU) Makefile, removed ugly dll-directives, fixed rs232 under windows 2009-09-29 15:19:15 +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
Roel Verdult
119b57ff35 Finally removed all dirty globals, it 'should' be thread-safe now 2009-09-25 11:09:50 +00:00
Roel Verdult
18003a21ab bugfix: mftool authenticated only with KEYA 2009-09-25 08:07:12 +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
Roel Verdult
580ae9537b fix typo of B460800 2009-09-21 18:15:17 +00:00
Roel Verdult
c452264a11 MacOS doesn't have B460800 2009-09-21 18:13:24 +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