Romuald Conty
8c7b61eaba
move some examples to utils/ since they are not examples anymore :) (Fixes Issue 164)
2011-09-30 11:33:31 +00:00
Philippe Teuwen
96538d052b
Extend max length for firmware description & fix typo
2011-05-25 19:53:45 +00:00
Philippe Teuwen
ab54a37678
list_targets support for ASK CTS512B (no anticol support yet)
2011-05-11 23:00:54 +00:00
Philippe Teuwen
21dfe81d0b
Some optimisations in initialisation of registers
2011-05-10 23:44:27 +00:00
Philippe Teuwen
d834860965
Add partial support (list) for ISO14443B-3 ST SRx & ASK CTx cards
2011-05-06 19:11:03 +00:00
Romuald Conty
cd6946e751
Add ISO/IEC 14443 B' aka Type B' modulation partial support
2011-05-06 14:14:06 +00:00
Philippe Teuwen
8d70321d80
nfc-list: fix grammatical typo if multiple tags
2011-04-04 19:21:27 +00:00
Romuald Conty
dba06a555e
remove nfc-message.h usage from examples.
2011-03-05 08:53:46 +00:00
Romuald Conty
5e9e177319
Change examples license for the sake of consistency: LGPL covers library, re-usable examples code is now under BSD license.
2010-11-17 14:27:11 +00:00
Romuald Conty
a214974684
Remove INFO macro: display was not clear enough and does not provide a big benefit.
...
New Issue
Summary: Remove nfc-message.h file from installed ones
nfc-message.h provide some usefull debugging macros but I am not sure that these macros have to be installed with other files.
2010-10-26 14:27:17 +00:00
Philippe Teuwen
2b24a0a7f5
Examples: more ISO14443A info decoding & verbose mode for nfc-list
2010-10-19 12:50:52 +00:00
Romuald Conty
65da34398d
nfc-list: clean up configuration, that now handled by nfc_initiator_list_passive_targets()
2010-10-18 10:12:24 +00:00
Philippe Teuwen
5a5b5d681b
Small typos
2010-10-14 11:53:27 +00:00
Romuald Conty
af88da1a9c
Replace nfc_target_info_t with nfc_target_t in API function, we now have a coherent struct to handle nfc_target_t, use it!
2010-10-14 11:44:43 +00:00
Romuald Conty
3c4972b9a3
Add TODO
2010-10-13 22:26:17 +00:00
Romuald Conty
d289eabc36
Attempt to provide clean types for API
2010-10-13 17:43:23 +00:00
Romuald Conty
9020014160
Rename nfc_modulation_t as pn53x_modulation_t
2010-10-13 15:39:52 +00:00
Romuald Conty
bf1f9c68d3
nfc-list: remove some useless calls to nfc_configure(), these settings are applied by default.
2010-10-08 18:13:18 +00:00
Philippe Teuwen
2024e5f904
nfc-list: add example how to address directly a USB device by its name
2010-10-05 07:53:19 +00:00
Romuald Conty
d2d15afa3b
examples: minor enhancements
2010-10-04 12:43:22 +00:00
Romuald Conty
8672c809bd
example: Jewel support in nfc-list and nfc-poll. (Many thanks to Phil)
2010-09-28 15:31:31 +00:00
Romuald Conty
18cc86a613
Indent whole code using make indent. (Fixes issue 84).
2010-09-07 17:51:03 +00:00
Romain Tartiere
2efbccf236
Explicitly enable auto ISO14443-4 mode for nfc-list.
2010-09-04 10:20:02 +00:00
Romain Tartiere
32917a9c0a
Unbreak nfc-list on windows.
...
The 'z' format modifier is not portable. Switch to a basic int and cast the
size_t to an int.
2010-08-24 09:23:48 +00:00
Romain Tartiere
eb90b92c12
Detect errors in examples.
2010-08-18 17:22:13 +00:00
Romain Tartiere
769eef20f7
Merge r520-546 from trunk.
2010-08-18 14:32:01 +00:00
Romuald Conty
cf9af4ee49
nfc-list example now use nfc_initiator_list_passive_targets() function.
2010-08-18 13:13:14 +00:00
Romain Tartiere
fd0efd4a62
Fix build on Microsoft Windows.
...
Windows users: I hate you in secret.
2010-08-10 19:50:29 +00:00
Romuald Conty
0afaf656fa
Attempt to provide target listing function (WARNING: this function is actually incomplete)
...
New issue
Summary: Provide a target listing function
Labels: Milestone-1.4.x
Libnfc lacks of target listing function. Actually, applications or libraries based on libnfc have to wrote their own listing function which can provide side effect if two or more of theses libraries are used together in the same application. Plus, some kind of problem could appears during listing multiples targets (i.e. collisions) and this problem should be solved in libnfc (i.e. using NFC chip capabilities), not in applications based on libnfc.
2010-07-30 13:27:03 +00:00
Romuald Conty
c4bb23631b
Do not export nfc_parse_device_desc() in libnfc API.
2010-07-22 16:13:02 +00:00
Emanuele Bertoldi
4bc522cd1e
First prototype of argument parsing for device description (issue #87 ).
2010-07-22 13:41:20 +00:00
Romuald Conty
2688de6500
API change: nfc_initiator_select_tag() is now nfc_initiator_select_passive_target() AND nfc_initiator_deselect_tag() is now nfc_initiator_deselect_target()
2010-07-21 10:37:37 +00:00
Romuald Conty
07a779c880
Add a small example to diagnose basic elements (communication, rom and ram) of pn53x.
2010-05-28 09:09:36 +00:00
Romain Tartiere
086e24c407
(libnfc-less-bitutils-more-ponies) Fix build on windows:
...
- do not depends on byte swapping functions / macros;
- add basic err.h functionalities.
2010-04-16 22:38:45 +00:00
Romain Tartiere
3e8e1c8844
Fix build on Windows (using cmake and nmake).
2010-04-16 20:39:56 +00:00
Romain Tartiere
10baef235f
(libnfc-less-bitutils-more-ponies) Get rid of bitutils.[hc] (part 1).
...
- New API function append_iso14443a_crc();
- Add a PRINT_HEX macro for driver debugging (replaces print_hex function from bitutils.c);
- Move bit-mirroring related functions to libnfc/mirror-subr.[hc];
- Move iso14443 related functions to libnfc/iso14443-subr.c;
- Move libnfc/bitutils.c hex-dumping code to examples/nfc-utils.c;
- Replace calls to swap_endian32() and swap_endian64() functions with calls to bswap32() and bswap64 provided by endian.h.
And while I am here:
- Fix the DBG macro so that it does not throw warning at compile time.
2010-04-16 16:38:57 +00:00
Romain Tartiere
ae99d155b5
Make nfc-list rely on the libnfcutils.a convenience library and call nfc_initiator_select_tag().
2010-04-09 22:08:17 +00:00
Romain Tartiere
5473befa13
Fix a brunch of -Wextra warnings:
...
- 'static' is not at beginning of declaration;
- unused parameter;
- comparison between signed and unsigned.
2010-04-07 15:08:04 +00:00
Romain Tartiere
c7d77d7664
Rearrange source code.
2010-04-07 14:37:19 +00:00