ee3715e267Add convenience library infrastructure and move the print_nfc_iso14443a_info() function away from bitutils.
Romain Tartiere
2010-04-09 21:57:03 +00:00
2714180227Add new example to show how to use new polling function.
Romuald Conty
2010-04-09 16:21:25 +00:00
40f230d6f0New API function (experimental): nfc_initiator_poll_targets() which allow to use hardware polling function. Warning: ATM, it only support ISO14443a targets.
Romuald Conty
2010-04-09 16:20:47 +00:00
4128b23f86Add new function pn53x_decode_target_data() that fill nfc_target_info_t with TargetData byte stream.
Romuald Conty
2010-04-09 16:18:42 +00:00
bc4c34f851Add two new types: nfc_target_type_t and nfc_target_t.
Romuald Conty
2010-04-09 16:16:17 +00:00
af9f744390Add a simple function to print nfc_iso14443a_info_t structure.
Romuald Conty
2010-04-09 16:11:21 +00:00
25b49f7879Fix mis-initialized ATS field when filling-in nfc_target_info_t structure (wrong source address in memcpy())
Romuald Conty
2010-04-08 16:20:03 +00:00
ab028ab4e2Add FIXME related to Issue 61.
Romuald Conty
2010-04-08 16:13:12 +00:00
9c43e75691Redo r336. (Missed at r340)
Romuald Conty
2010-04-07 16:30:16 +00:00
5473befa13Fix a brunch of -Wextra warnings: - 'static' is not at beginning of declaration; - unused parameter; - comparison between signed and unsigned.
Romain Tartiere
2010-04-07 15:08:04 +00:00
ba5dbb05d5Put an annoying message in debug mode only.
Romuald Conty
2010-03-25 14:55:28 +00:00
17dda85c71Add README for Windows compilation using win32/Makefile. Rename README-Windows.txt (compilation using CMake) into CMake-Windows.txt
Romuald Conty
2010-03-25 09:28:09 +00:00
f20a681315Prevent the Windows installer from installing manual pages.
Romain Tartiere
2010-03-23 10:00:48 +00:00
f372104163Fix build on Windows when using CMake (Tested on Windows XP SP3 with WinSDK 7)
Romain Tartiere
2010-03-22 20:34:02 +00:00
b3b3f47876- Sync libnfc version in CMake with the one in the autotools; - Only add gcc-specific options when using gcc.
Romain Tartiere
2010-03-22 20:28:30 +00:00
c203ce837cPrevent from annoying message when probing nfc devices.
Romuald Conty
2010-03-11 14:42:58 +00:00
e223b93d91The obsolete function usleep(3) also needs _XOPEN_SOURCE >= 500.
Romain Tartiere
2010-02-20 13:01:43 +00:00
63262331c6Suppress warnings due to unused variable.
Romuald Conty
2010-02-17 14:57:03 +00:00
d97d017853Move 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...
Romuald Conty
2010-02-17 14:48:41 +00:00
e0d8e80b76Add _DARWIN_C_SOURCE define to activate all library features on MacOS
Romuald Conty
2010-02-17 14:12:38 +00:00
9bafef8d88Include pn53x.conf in libnfc tarballs since pn53x.rules is in it too.
Romain Tartiere
2010-02-16 14:09:35 +00:00
219d5657e8Add devd(8) rules to change USB devices permissions when they are plugged-in on FreeBSD.
Romain Tartiere
2010-02-16 14:06:56 +00:00
70915a7484By mistake, I had modify libnfc's 1.3.2 tag instead of trunk. Its now fixed.
libnfc-1.3.2
Romuald Conty
2010-02-10 15:29:45 +00:00
0b962a3b3bMove sys/select.h include in the non-windows part. Update copyright headers.
Romuald Conty
2010-02-10 15:20:13 +00:00
386597af6eDefine _NETBSD_SOURCE that makes a few more serial speeds defined in termios.h.
Romain Tartiere
2010-02-10 13:46:12 +00:00
0d395733afFix indent after last commit.
Romain Tartiere
2010-02-10 11:23:38 +00:00
c8c03fe2e0Do not add libusb to PKG_CONFIG_REQUIRES unless it is located using this method. Fix build failure for software detecting libnfc using pkg-config on FreeBSD (at least) when libusb is part of the system.
Romain Tartiere
2010-02-10 11:23:01 +00:00
2a33e28db9Add workaround for libusb while using CMake.
Romuald Conty
2010-02-09 16:10:45 +00:00
10183ffd22ATM, there is no particular reason to keep O_NDELAY in open(2) flags (not defined by POSIX, BTW), but a particular reason to suppress it: it breaks build on FreeBSD.
Romain Tartiere
2010-01-28 15:46:55 +00:00
19672806d2Fix some more cc warnings.
Romain Tartiere
2010-01-28 15:42:50 +00:00
4669279589Add missing header. Fix build at least on FreeBSD 7.2.
Romain Tartiere
2010-01-28 14:32:23 +00:00
7d20198520Tweak the libusb detection. 1. Try to use pkg-config to locate libusb; 2. Try with libusb-config if not found; 3. Try to locate headers and lib if still not found.
Romain Tartiere
2010-01-28 13:56:04 +00:00
762079d066Include config.h must be used with HAVE_CONFIG_H define.
Romuald Conty
2010-01-14 15:53:49 +00:00
15981b743efixed windows compiling issues
Roel Verdult
2010-01-13 16:23:06 +00:00
f8b3ba9ab6fixed windows compiling with 'free' Windows 7 SDK, currently dropped default libusb support
Roel Verdult
2010-01-13 15:57:46 +00:00
4179bb1918ARYGON ADRB-USB 9600 baud note, removed invalid connection Mac OS X string for pn532 uart. This only applies for ARYGON devices since they use a silabs-usb-to-uart chip
Roel Verdult
2010-01-13 14:24:29 +00:00
f6a3ee94beUpdate Doxyfile.in using doxygen -u as suggested by Doxygen during doc compilation.
Romuald Conty
2010-01-13 14:18:40 +00:00
e4ca9245ecC99 compiler is a requirement so we don't need --enable-std99 anymore. Define _XOPEN_SOURCE 600 using config.h
Romuald Conty
2010-01-12 17:58:13 +00:00
0b720d30cdAvoid BUFSIZ usage since it will be a HUGE buffer under linux (8192 bytes).
Romuald Conty
2010-01-12 12:47:26 +00:00
9cc3dca98bImprove Doxygen generation. Move doxygen comment from header to source (make installed header more cleaner).
Romuald Conty
2010-01-10 18:14:26 +00:00
31597117a2Update the ChangeLog entry of FreeBSD support (libnfc has not been run on a "today current" -CURRENT FreeBSD system. It's smooth on -STABLE BTW).
Romain Tartiere
2010-01-06 10:24:49 +00:00
377caecefeAllow all ACS ACR122U to be detected as valid NFC device.
Romuald Conty
2010-01-03 12:48:21 +00:00
73448612afIncrease _XOPEN_SOURCE to 600.
Romain Tartiere
2009-12-23 12:01:40 +00:00
e0fab1c9a7Add stdlib.h header where applicable (where we call malloc() / free()).
Romain Tartiere
2009-12-23 11:56:56 +00:00
aa7d7171c8Sync libnfc.pc includedir with the rest of the project source files.
Romain Tartiere
2009-12-22 21:02:19 +00:00