Commit graph

2194 commits

Author SHA1 Message Date
Romain Tartiere
4e50bf7a8b Fix ACR122 with firmware > 2.0 support. 2009-11-24 17:58:07 +00:00
Romain Tartiere
220bef3490 ACR122 devices support enhancements.
- Add driver agnostic nfc_pick_device(), nfc_list_devices();
  - New API function: nfc_list_devices();
  - PCSC Context sharing for acr122 driver;
  - List all devices in nfc-list(1);
  - Various code fixes and cleanup;
  - Remove warnings when compiling;
  - Merge r191:199 from trunk \_°< Coin!
2009-11-24 17:49:24 +00:00
Romain Tartiere
1af29561e8 Add 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.
2009-11-24 13:03:48 +00:00
Romain Tartiere
fbb924e3bb Add workarounds for libusb in c99. 2009-11-24 12:55:34 +00:00
Roel Verdult
c401d69b4f refresh 2009-11-20 19:15:27 +00:00
Romuald Conty
17eff8863c nfc-relay: Initialize initiator device explicitly. 2009-11-20 16:09:04 +00:00
Romuald Conty
d4d5c5495e nfc-relay: Capture ctrl-c for quitting cleanly the relay attack application. 2009-11-20 16:06:51 +00:00
Romuald Conty
e5d685a23d nfc-relay: exit properly if emulator initialization failed. 2009-11-20 15:54:04 +00:00
Romuald Conty
f85c91a04e Less confusing message for bitstreams display. 2009-11-20 15:50:49 +00:00
Romuald Conty
7e26ce3471 Add new files usefull for desktop GNU/Linux users: some rules for udev to allow non-root access to PN53x USB devices. 2009-11-20 15:47:36 +00:00
Romuald Conty
9526d5debc Lets search continuing to find other USB readers if any in PN531 and PN533 USB drivers. 2009-11-20 15:39:52 +00:00
Romuald Conty
790fc0da1e Support for the generic vendorid/productid of the NXP chip. 2009-11-20 15:37:07 +00:00
Romuald Conty
5dc68e68ca Simply turns off the RF field upon exit. 2009-11-20 15:35:09 +00:00
Romuald Conty
1e5658eeba Make distcheck OK.
Add SVN revision to libnfc version (if available).
2009-11-20 13:43:18 +00:00
Romuald Conty
877176c98f Attempt to extract PN53x related code for nfc.c.
multichip> chips sub-folder introduction with pn53x.h/c.
2009-11-20 11:27:07 +00:00
Romuald Conty
483c69dd03 Rename tag_info to nfc_target_info_t.
Rename init_modulation to nfc_modulation_t.
2009-11-18 11:52:18 +00:00
Romuald Conty
2feedddbfe Rename 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).
2009-11-18 11:11:06 +00:00
Romuald Conty
2a0ff6c5d0 Rename chip_type to nfc_chip_t.
Rename dev_spec to nfc_device_spec_t.
Update configure.ac and autotools related files.
2009-11-18 10:52:13 +00:00
Romuald Conty
8a579c3aab merge with trunk r183:184. 2009-11-18 09:35:50 +00:00
Roel Verdult
48621a7883 uart proper timeval struct restore for linux select() implementation 2009-11-14 00:47:11 +00:00
Roel Verdult
365d60ce4a added support for recv/send of larger data chunks (>default_os_buffer) 2009-11-13 21:12:51 +00:00
Romuald Conty
aa8bb42d9f Remove nfc-defines.h public header.
Use NULL instead of INVALID_DEVICE_INFO to know if device is valid.
Make distcheck OK
2009-11-10 09:47:59 +00:00
Romuald Conty
9fccd11fc7 merge with trunk r178:179. 2009-11-09 13:30:59 +00:00
Romuald Conty
854dc3aceb Prefix 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
2009-11-09 11:23:33 +00:00
Romuald Conty
fabdf4214a Fix Issue 46 and Issue 47. Many thanks to ud. 2009-11-09 09:39:38 +00:00
Romuald Conty
9ce99b80d3 Import newtree branch as trunk 2009-11-04 14:58:23 +00:00
Romuald Conty
473965d3a6 It now works on MacOS. 2009-11-04 14:55:24 +00:00
Romuald Conty
c9689c74fb It cow compile using CMake. 2009-11-04 12:03:49 +00:00
Romuald Conty
06a76f6470 Attempt to make it works on MacOS. Small fixes. CMake work started. 2009-11-04 10:42:53 +00:00
Romuald Conty
14a9112dea It now compile using Autotools. 2009-11-04 10:14:17 +00:00
Romuald Conty
4a5945e67d Third attempt to reorganize tree. 2009-11-03 15:53:35 +00:00
Romuald Conty
507991ac2b Second attempt to reorganize tree 2009-11-03 15:20:36 +00:00
Romuald Conty
ab62855d80 First attempt to reorganize tree. 2009-11-03 14:51:14 +00:00
Romuald Conty
36cb0ff5f9 Fix Issue 39. Thanks to Francois Kooman for report. 2009-11-03 08:35:27 +00:00
Romuald Conty
9d7369e234 Fix Issue 45: nfc_target_init doesn't correctly reset the parity during initalization. Thanks to Mike Auty. 2009-11-02 17:06:55 +00:00
Romuald Conty
49ca2acf91 "make distclean" remove more generated files. 2009-11-02 17:05:59 +00:00
Romuald Conty
39a1e1fd11 Add 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.
2009-11-02 14:05:03 +00:00
Romuald Conty
edec0ae3da Attempt to fix Issue 44. 2009-11-02 11:50:40 +00:00
Romuald Conty
c6a7e2bf47 Rename nfc-mftool to nfc-mfclassic.
Rename nfc-mfultool to nfc-mfultralight.
Remove compilation warnings due to missing includes.
"make distclean" now clean Makefile.in.
2009-11-02 11:34:58 +00:00
Romuald Conty
cd43b758d4 Fix Issue 36. Thanks to Roger Brown. 2009-11-02 08:19:33 +00:00
Romuald Conty
5a7c561d48 Add C++ compatibility, this fix Issue 16. 2009-11-02 07:46:29 +00:00
Roel Verdult
aaf2a2d4dd Added license in stdbool file 2009-10-31 13:49:25 +00:00
Romuald Conty
cc5545e8b4 Include missing examples headers when "make install". 2009-10-29 16:44:58 +00:00
Romuald Conty
4962f932fb Update nfc-mftool output with new available action. 2009-10-27 11:54:44 +00:00
Romuald Conty
b791951a45 Fix tag re-selection with UID lenght > 4 bytes (like DESFire or Ultralight). 2009-10-27 11:53:28 +00:00
Romuald Conty
30835317c2 Add new action in nfc-mftool. Its now possible to extract payload (data blocks) from a MFD
Fix minor bug message in nfc-mftool.
2009-10-26 13:37:12 +00:00
Romuald Conty
1a72b81065 Cleanup nfc-mftool's output. 2009-10-21 15:05:17 +00:00
Romuald Conty
7b1999d8fb Add (dirty) code to wakeup for PN532C106. 2009-10-20 15:37:42 +00:00
Romuald Conty
91aceadf4f Put debug and error messages in stderr. 2009-10-20 15:36:22 +00:00
Romuald Conty
4a03864bea Add "make html" directive: it will build API documentation using Doxygen. (--enable-doc flag is required at configure time) 2009-10-20 10:19:31 +00:00