Commit graph

52 commits

Author SHA1 Message Date
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
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
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
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
Adam Laurie
eec2a3c220 add quiet mode to improve timing of emulate, relay and anticol commands 2009-08-23 09:50:46 +00:00
Adam Laurie
44f9cf9dd5 add UID feature to documentation and minor engrish correction 2009-08-21 13:44:53 +00:00
Adam Laurie
0b6090cfd6 test I can commit by adding allow UID to be specified 2009-08-21 13:34:53 +00:00
Romuald Conty
2bf4393191 Add MIFARE Ultratag tool. (Many thanks to xxv) 2009-07-24 15:35:02 +00:00
Roel Verdult
66378cc2d5 Typecast to be specific what is needed 2009-07-24 14:02:39 +00:00
Roel Verdult
c4fb2bda0d changed back uint32_t to size_t for linux64-pcsclite compatibility 2009-07-24 13:38:18 +00:00
Roel Verdult
48c3996688 ISO14443-B support in nfc-list 2009-07-23 10:24:04 +00:00
Roel Verdult
452e4b31bf mac pcsc compilation 2009-07-22 10:02:28 +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
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
3c6f9c3a8c Install man pages with binaries. 2009-06-29 06:55:17 +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
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
Romuald Conty
d74f0d13dd MERGE: svn merge -r 20:23 trunk/src branches/portability/src 2009-06-11 09:12:00 +00:00
Romuald Conty
5391dfc902 MERGE: svn merge -r 19:20 trunk/src branches/portability/src 2009-06-11 08:34:43 +00:00
Romuald Conty
7b82eb10a0 Add --disable-pcsc-lite option.
Fix pkg-config file.
2009-06-11 08:30:49 +00:00
Romuald Conty
7536d79d73 Fix function prototype.
Check for usb.h in ./configure .
2009-06-03 07:32:43 +00:00
Romuald Conty
1dcb53dc4d Use C99 standard bool type instead of locally defined one.
Check for types in configure pass.
Fix a warning related to nfc_reader_select() (a length - uiInitDataLen - was set by NULL instead of 0).
2009-05-27 14:05:07 +00:00
Romuald Conty
f34857487d Replace locally defined "null" to standard library defined "NULL" (stddef.h).
Replace "ulong" usage by "size_t" from standard library (since ulong type was only used to store sizeof() result).
2009-05-27 12:18:21 +00:00
Romuald Conty
ab3664b056 Switch types to C99 standard using stdint.h
Add stdint.h header check to ./configure
Add -std=c99 to CFLAGS.
2009-05-27 10:13:19 +00:00
Romuald Conty
8b2ca5da1c Use DEBUG define instead of _LIBNFC_VERBOSE_ to enable debug messages. Add --enable-debug option to ./configure 2009-05-27 08:54:50 +00:00