63262331c6
Suppress warnings due to unused variable.
Romuald Conty2010-02-17 14:57:03 +00:00
d97d017853
Move 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 Conty2010-02-17 14:48:41 +00:00
c8c03fe2e0
Do 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 Tartiere2010-02-10 11:23:01 +00:00
2a33e28db9
Add workaround for libusb while using CMake.
Romuald Conty2010-02-09 16:10:45 +00:00
10183ffd22
ATM, 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 Tartiere2010-01-28 15:46:55 +00:00
4669279589
Add missing header. Fix build at least on FreeBSD 7.2.
Romain Tartiere2010-01-28 14:32:23 +00:00
7d20198520
Tweak 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 Tartiere2010-01-28 13:56:04 +00:00
f8b3ba9ab6
fixed windows compiling with 'free' Windows 7 SDK, currently dropped default libusb support
Roel Verdult2010-01-13 15:57:46 +00:00
4179bb1918
ARYGON 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 Verdult2010-01-13 14:24:29 +00:00
f6a3ee94be
Update Doxyfile.in using doxygen -u as suggested by Doxygen during doc compilation.
Romuald Conty2010-01-13 14:18:40 +00:00
e4ca9245ec
C99 compiler is a requirement so we don't need --enable-std99 anymore. Define _XOPEN_SOURCE 600 using config.h
Romuald Conty2010-01-12 17:58:13 +00:00
0b720d30cd
Avoid BUFSIZ usage since it will be a HUGE buffer under linux (8192 bytes).
Romuald Conty2010-01-12 12:47:26 +00:00
9cc3dca98b
Improve Doxygen generation. Move doxygen comment from header to source (make installed header more cleaner).
Romuald Conty2010-01-10 18:14:26 +00:00
31597117a2
Update 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 Tartiere2010-01-06 10:24:49 +00:00
377caecefe
Allow all ACS ACR122U to be detected as valid NFC device.
Romuald Conty2010-01-03 12:48:21 +00:00
309cbd6635
consolidate duplicated code in pn531/pn533 drivers
Adam Laurie2009-12-06 16:36:55 +00:00
50a42a5b97
leave usb devices as we found them (fixes hang on second use) and yet more debuggers
Adam Laurie2009-12-06 00:41:48 +00:00
b9c7bb89a7
reverse revision 230 - calling connect(NULL) is correct behaviour (selects 1st available device)
Adam Laurie2009-12-04 13:51:30 +00:00
5b767ec91e
Improve debug messages. Small fix in ACR122 driver.
Romuald Conty2009-12-03 21:24:06 +00:00
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.)
Romuald Conty2009-12-03 15:57:13 +00:00
86dac7a4bb
Do not call drivers' connect() function if pick_device() returns NULL.
Romain Tartiere2009-12-03 02:08:40 +00:00
b8a9a7d743
more debuggers and fix auto-connecting to libusb devices (still no way to list them though)
Adam Laurie2009-12-02 11:45:38 +00:00
c449fe8561
add some debuggers to help figure out why nfc-list doesn't see libusb devices
Adam Laurie2009-12-01 22:28:41 +00:00
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.
Romuald Conty2009-12-01 10:07:30 +00:00
a56a217ca9
Support for the generic vendorid/productid of the NXP chip.
Romuald Conty2009-12-01 09:45:01 +00:00