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
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
Roel Verdult
16fd4bc2a0
Typo ;)
2010-09-24 16:51:30 +00:00
Roel Verdult
6f89ad50f8
add key for democards
2010-09-24 16:29:17 +00:00
Romuald Conty
18cc86a613
Indent whole code using make indent. (Fixes issue 84).
2010-09-07 17:51:03 +00:00
Romain Tartiere
5b0589c381
Merge r551-563 from trunk.
2010-08-20 10:41:30 +00:00
Romuald Conty
040db45ae4
nfc-mfclassic: disable ISO14443-4 auto-switching in order to read devices that emulate Mifare Classic with ISO14443-4 compliance.(e.g. Nokia 6212 Classic)
2010-08-19 10:59:45 +00:00
Romain Tartiere
eb90b92c12
Detect errors in examples.
2010-08-18 17:22:13 +00:00
Romuald Conty
4b123ab583
nfc-mfclassic now fails ealier when something goes wrong (this allow to prevent from false-success).
2010-08-18 13:20:40 +00:00
Romain Tartiere
f237d44339
Take care of 16-blocks-long sectors of Mifare Classic 4K in the nfc-mfclassic example's blocks counting routine.
2010-08-11 09:26:22 +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
f7c31885f5
Move all Mifare related code from libnfc API to examples: NFC is capable of Mifare, but Mifare is not NFC.
2010-06-15 15:33:22 +00:00
Romuald Conty
3c1a61349f
Re-ident nfc-mfclassic.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2 " command line.
2010-06-07 09:05:35 +00:00
Romuald Conty
8bac5355dd
This should fix Issue 83.
2010-06-07 08:16:27 +00:00
Romain Tartiere
b28abd77b0
Merge the libnfc-less-bitutils-more-ponies branch into trunk.
2010-04-26 13:13:13 +00:00
Romuald Conty
7762814eda
nfc-mfclassic: fix warnings about prototypes. Fix Issue 76.
2010-04-20 09:25:18 +00:00
Romuald Conty
75cc48e460
nfc-mfclassic: fix warnings "no previous prototype for...". Fix Issue 75.
2010-04-20 09:05:23 +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
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
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