Romain Tartiere
86dac7a4bb
Do not call drivers' connect() function if pick_device() returns NULL.
2009-12-03 02:08:40 +00:00
Adam Laurie
b8a9a7d743
more debuggers and fix auto-connecting to libusb devices (still no way to list them though)
2009-12-02 11:45:38 +00:00
Adam Laurie
c449fe8561
add some debuggers to help figure out why nfc-list doesn't see libusb devices
2009-12-01 22:28:41 +00:00
Romain Tartiere
2b8232b9ab
Merge the includes-revamp branch into trunk.
2009-12-01 14:23:00 +00:00
Romuald Conty
f9f49cc0d0
Fix r217 build.
2009-12-01 10:44:31 +00:00
Romuald Conty
0286eeecdd
Simply turns off the RF field upon exit.
2009-12-01 09:31:29 +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
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
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
14a9112dea
It now compile using Autotools.
2009-11-04 10:14:17 +00:00
Romuald Conty
ab62855d80
First attempt to reorganize tree.
2009-11-03 14:51:14 +00:00