Commit graph

37 commits

Author SHA1 Message Date
Adam Laurie
24881bd32d Fix accidental overwrite of Mifare special trailer block in unlocked read 2011-09-07 09:41:04 +00:00
Adam Laurie
028f310576 Unlocked read and format/wipe of special Mifare cards 2011-09-06 21:17:38 +00:00
Adam Laurie
1a07613ce2 -h usage explicitly state Chinese clone cards required for block 0 write 2011-09-06 11:00:01 +00:00
Adam Laurie
e401f4ec4e Write special Mifare 1K cards, including Block 0 / UID 2011-09-05 14:40:56 +00:00
Philippe Teuwen
f4c3d9d4ed nfc-mfclassic: handle 7-byte UID cards & MFC Mini 2011-05-26 22:49:45 +00:00
Philippe Teuwen
4124dc662d Cleanup of initializations 2011-05-05 10:12:26 +00:00
Philippe Teuwen
fc48b7eb89 mfc: removing alpha feature to prepare release 2011-04-28 14:53:44 +00:00
Philippe Teuwen
8a77b68b10 mfc fingerprinting: fixing data 2011-04-12 07:45:41 +00:00
Philippe Teuwen
b89eb58257 mfc fingerprinting: more data 2011-04-11 15:23:38 +00:00
Philippe Teuwen
174c916961 nfc-mfclassic: add some more fingerprints 2011-04-08 18:33:48 +00:00
Philippe Teuwen
fae451d236 mfclassic fingerprinting 2011-04-05 13:30:49 +00:00
Romuald Conty
d2192fb850 nfc-mfclassic: UID was shown reverse-ordered. (Fixes Issue 146) 2011-02-23 15:14:14 +00:00
Romuald Conty
ca3efe2517 nfc-mfclassic: fixes a segfault when using only 1 argument (Fixes Issue 142) 2011-02-06 19:46:16 +00:00
Romain Tartiere
cf92bfaeee Fix crash when file cannot be opened for writing. 2011-01-20 15:42: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
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
Renamed from src/examples/nfc-mfclassic.c (Browse further)