309cbd6635consolidate duplicated code in pn531/pn533 drivers
Adam Laurie
2009-12-06 16:36:55 +00:00
50a42a5b97leave usb devices as we found them (fixes hang on second use) and yet more debuggers
Adam Laurie
2009-12-06 00:41:48 +00:00
b9c7bb89a7reverse revision 230 - calling connect(NULL) is correct behaviour (selects 1st available device)
Adam Laurie
2009-12-04 13:51:30 +00:00
5b767ec91eImprove debug messages. Small fix in ACR122 driver.
Romuald Conty
2009-12-03 21:24:06 +00:00
e5ba266420Add 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 Conty
2009-12-03 15:57:13 +00:00
86dac7a4bbDo not call drivers' connect() function if pick_device() returns NULL.
Romain Tartiere
2009-12-03 02:08:40 +00:00
b8a9a7d743more debuggers and fix auto-connecting to libusb devices (still no way to list them though)
Adam Laurie
2009-12-02 11:45:38 +00:00
c449fe8561add some debuggers to help figure out why nfc-list doesn't see libusb devices
Adam Laurie
2009-12-01 22:28:41 +00:00
2b8232b9abMerge the includes-revamp branch into trunk.
Romain Tartiere
2009-12-01 14:23:00 +00:00
b29860a93cRe-enable "Disable serial autoprobe" option with CMake.
Romuald Conty
2009-12-01 13:28:15 +00:00
dedfbb0ec8Fix CMakeLists for FreeBSD.
Romain Tartiere
2009-12-01 13:26:34 +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 Conty
2009-12-01 10:07:30 +00:00
a56a217ca9Support for the generic vendorid/productid of the NXP chip.
Romuald Conty
2009-12-01 09:45:01 +00:00
0286eeecddSimply turns off the RF field upon exit.
Romuald Conty
2009-12-01 09:31:29 +00:00
a3431c8e4cfix what looks like accidental editor mangling so it can compile
Adam Laurie
2009-11-30 20:18:09 +00:00
3ff80e55c4Fix Issue 48: nfc-mfultralight's output should be more clear (Thanks to Zuck)
Romuald Conty
2009-11-27 17:02:53 +00:00
9b2246930eFix Issue 38: nfc-mfclassic's output should be more clear (Thanks to Zuck)
Romuald Conty
2009-11-27 16:51:39 +00:00
0f0c9abe24Prepare next release. Update Debian packages. Set svn:ignore properties.
Romuald Conty
2009-11-27 15:44:25 +00:00
220bef3490ACR122 devices support enhancements.
Romain Tartiere
2009-11-24 17:49:24 +00:00
1af29561e8Add device listing capabilities - acr122: add acr122_pick_device(), acr122_list_devices(); - Add device name to device descriptions (nfc_device_desc_t) to select a given PCSC device; - Use constants for driver names; - Various code cleanups and enhancements.
Romain Tartiere
2009-11-24 13:03:48 +00:00
fbb924e3bbAdd workarounds for libusb in c99.
Romain Tartiere
2009-11-24 12:55:34 +00:00
7e26ce3471Add new files usefull for desktop GNU/Linux users: some rules for udev to allow non-root access to PN53x USB devices.
Romuald Conty
2009-11-20 15:47:36 +00:00
9526d5debcLets search continuing to find other USB readers if any in PN531 and PN533 USB drivers.
Romuald Conty
2009-11-20 15:39:52 +00:00
790fc0da1eSupport for the generic vendorid/productid of the NXP chip.
Romuald Conty
2009-11-20 15:37:07 +00:00
5dc68e68caSimply turns off the RF field upon exit.
Romuald Conty
2009-11-20 15:35:09 +00:00
1e5658eebaMake distcheck OK. Add SVN revision to libnfc version (if available).
Romuald Conty
2009-11-20 13:43:18 +00:00
877176c98fAttempt to extract PN53x related code for nfc.c. multichip> chips sub-folder introduction with pn53x.h/c.
Romuald Conty
2009-11-20 11:27:07 +00:00
483c69dd03Rename tag_info to nfc_target_info_t. Rename init_modulation to nfc_modulation_t.
Romuald Conty
2009-11-18 11:52:18 +00:00
2feedddbfeRename dev_config_option to nfc_device_option_t. Use NULL instead of INVALID_DEVICE_INFO to know if device is valid (all occurences are now replaced).
Romuald Conty
2009-11-18 11:11:06 +00:00
2a0ff6c5d0Rename chip_type to nfc_chip_t. Rename dev_spec to nfc_device_spec_t. Update configure.ac and autotools related files.
Romuald Conty
2009-11-18 10:52:13 +00:00
8a579c3aabmerge with trunk r183:184.
Romuald Conty
2009-11-18 09:35:50 +00:00
48621a7883uart proper timeval struct restore for linux select() implementation
Roel Verdult
2009-11-14 00:47:11 +00:00
365d60ce4aadded support for recv/send of larger data chunks (>default_os_buffer)
Roel Verdult
2009-11-13 21:12:51 +00:00
aa8bb42d9fRemove nfc-defines.h public header. Use NULL instead of INVALID_DEVICE_INFO to know if device is valid. Make distcheck OK
Romuald Conty
2009-11-10 09:47:59 +00:00
9fccd11fc7merge with trunk r178:179.
Romuald Conty
2009-11-09 13:30:59 +00:00
854dc3acebPrefix defines.h, messages.h and types.h headers by "nfc-" Rename dev_info struct to nfc_device_t Some code cleanup Rename pn531.h/c to pn531_usb.h/c Rename pn533.h/c to pn533_usb.h/c
Romuald Conty
2009-11-09 11:23:33 +00:00
fabdf4214aFix Issue 46 and Issue 47. Many thanks to ud.
Romuald Conty
2009-11-09 09:39:38 +00:00
9ce99b80d3Import newtree branch as trunk
Romuald Conty
2009-11-04 14:58:23 +00:00
473965d3a6It now works on MacOS.
Romuald Conty
2009-11-04 14:55:24 +00:00
c9689c74fbIt cow compile using CMake.
Romuald Conty
2009-11-04 12:03:49 +00:00
06a76f6470Attempt to make it works on MacOS. Small fixes. CMake work started.
Romuald Conty
2009-11-04 10:42:53 +00:00
14a9112deaIt now compile using Autotools.
Romuald Conty
2009-11-04 10:14:17 +00:00
4a5945e67dThird attempt to reorganize tree.
Romuald Conty
2009-11-03 15:53:35 +00:00
507991ac2bSecond attempt to reorganize tree
Romuald Conty
2009-11-03 15:20:36 +00:00
ab62855d80First attempt to reorganize tree.
Romuald Conty
2009-11-03 14:51:14 +00:00
36cb0ff5f9Fix Issue 39. Thanks to Francois Kooman for report.
Romuald Conty
2009-11-03 08:35:27 +00:00
9d7369e234Fix Issue 45: nfc_target_init doesn't correctly reset the parity during initalization. Thanks to Mike Auty.
Romuald Conty
2009-11-02 17:06:55 +00:00
39a1e1fd11Add function to return library version at execute time. Fix Issue 39. Thanks to Zuck for his contribution. Remove compilation warning due to missing includes in examples.
Romuald Conty
2009-11-02 14:05:03 +00:00
edec0ae3daAttempt to fix Issue 44.
Romuald Conty
2009-11-02 11:50:40 +00:00
c6a7e2bf47Rename nfc-mftool to nfc-mfclassic. Rename nfc-mfultool to nfc-mfultralight. Remove compilation warnings due to missing includes. "make distclean" now clean Makefile.in.
Romuald Conty
2009-11-02 11:34:58 +00:00
cd43b758d4Fix Issue 36. Thanks to Roger Brown.
Romuald Conty
2009-11-02 08:19:33 +00:00
5a7c561d48Add C++ compatibility, this fix Issue 16.
Romuald Conty
2009-11-02 07:46:29 +00:00
aaf2a2d4ddAdded license in stdbool file
Roel Verdult
2009-10-31 13:49:25 +00:00
4962f932fbUpdate nfc-mftool output with new available action.
Romuald Conty
2009-10-27 11:54:44 +00:00
b791951a45Fix tag re-selection with UID lenght > 4 bytes (like DESFire or Ultralight).
Romuald Conty
2009-10-27 11:53:28 +00:00
30835317c2Add new action in nfc-mftool. Its now possible to extract payload (data blocks) from a MFD Fix minor bug message in nfc-mftool.
Romuald Conty
2009-10-26 13:37:12 +00:00
7b1999d8fbAdd (dirty) code to wakeup for PN532C106.
Romuald Conty
2009-10-20 15:37:42 +00:00
91aceadf4fPut debug and error messages in stderr.
Romuald Conty
2009-10-20 15:36:22 +00:00
4a03864beaAdd "make html" directive: it will build API documentation using Doxygen. (--enable-doc flag is required at configure time)
Romuald Conty
2009-10-20 10:19:31 +00:00
1a7103c4c4added support for WUPA and 7,10 byte UID in nfc_initiator_select_tag()
Roel Verdult
2009-10-19 13:08:29 +00:00
d3ddf40484Fix typo. Add doxygen detection and --enable-doc flag to ./configure.
Romuald Conty
2009-10-13 12:43:52 +00:00
0ba0a10f74Update msinttypes up to revision 26.
Romuald Conty
2009-10-12 14:59:57 +00:00
30b0a20973Reformat copyright banner. Add @file doxygen comment to each file. Partially Issue 40.
Romuald Conty
2009-10-12 14:52:26 +00:00
32cd8559b4Remove not needed #include in libnfc.h. Minor change in version format.
Romuald Conty
2009-10-06 16:01:06 +00:00
0cc811d1a6- add pn532_uart to CMake build file - suppress warnings in Windows builds - use version 1.3.0 in CMake files as that will be the new version
Francois Kooman
2009-10-06 11:48:18 +00:00
881ef6c319Examples help messages now use argv[0] to determine their name. MIFARE examples (mftool and mfultool) have now a better help message.
Romuald Conty
2009-10-05 15:01:08 +00:00