Commit graph

119 commits

Author SHA1 Message Date
Romain Tartière
e17a54c18e Check tag is a FeliCa before dumping it. 2016-01-18 17:13:22 +01:00
Romain Tartière
343959c5dc Stop leaking UID 2015-06-01 13:16:11 +02:00
Romain Tartière
2c47f42538 Actually accept -o. 2015-05-13 19:52:33 +02:00
Romain Tartière
ac50476c99 No need to connect/disconnect FeliCa targets. 2015-05-13 19:52:08 +02:00
Romain Tartière
6049acaf5a Introduce experimental FeliCa Lite API. 2015-05-13 02:06:55 +02:00
Romain Tartière
1ce3db3ca6 Improve naming consistency.
Ensure all MIFARE related names and structures start with "mifare_" or
"MIFARE_".
2015-05-12 13:52:18 +02:00
Romain Tartière
faac4ae5d8 Fix white spaces inconsistencies. 2015-05-12 13:19:00 +02:00
Romain Tartière
6984e162e6 Fix " \t" sequences. 2015-05-12 12:25:44 +02:00
Romain Tartière
07695f4c18 Remove subversion artifacts.
We do not have $Id$ to expand anymore.
2015-05-12 12:22:39 +02:00
Romain Tartière
42b21ff42f Rename MifareTag to FreefareTag.
Because we are libfreefare and not libmifare, the generic tag type
should not be so specific.
2015-05-11 18:55:20 +02:00
Romain Tartière
d946230aec Fix compiler warning. 2015-05-11 18:39:32 +02:00
Romain Tartière
646a20da34 Add missing break.
This had no incidence on the code, but this change make things more
consistent.
2014-04-13 19:47:56 +02:00
Romain Tartière
c42dfce78d Style. 2014-04-13 19:41:17 +02:00
Don Coleman
14219ab145 add -y flag to mifare-classic-write-ndef
write without confirmation
2013-07-14 22:55:56 +02:00
Philippe Teuwen
f86ad5a183 mifare-classic-read-ndef: skip NULL TLV & proprio TLV 2013-07-14 21:18:28 +02:00
Dominik Heidler
cc36619f13 mifare-classic-format option: read keys from dump 2013-05-03 09:58:22 +02:00
Philippe Teuwen
00e999dd52 Ugly fix as workaround of FIXME mifare_desfire.c read_data() 2013-04-29 00:51:06 +02:00
Philippe Teuwen
061b41ed2d Align with libnfc API change: test nfc_init() result 2013-03-30 18:07:34 +01:00
Philippe Teuwen
bddb688df6 Add mifare-ultralight-info to dpkg & CMakeList 2013-01-14 10:11:02 +01:00
Romuald Conty
3dd6edcb3a updates library examples to use libnfc 1.7.0 API 2012-12-23 21:30:10 +00:00
Philippe Teuwen
9fda402cd3 add test default ULC key in mifare-ultralight-info 2012-11-13 23:36:07 +00:00
Ludovic Rousseau
f60bb7e613 Fix compiler warning
mifare-desfire-access.c:102: warning: initialization discards qualifiers
from pointer target type
2012-05-18 16:27:23 +00:00
Ludovic Rousseau
4a8dc7a4c6 Fix compiler warning
mifare-classic-format.c:62: warning: no previous prototype for ‘display_progress’
2012-05-18 16:21:26 +00:00
Ludovic Rousseau
5dc7a20c1c Fix compiler warnings
mifare-classic-write-ndef.c:67: warning: no previous prototype for ‘search_sector_key’
mifare-classic-write-ndef.c:105: warning: no previous prototype for ‘fix_mad_trailer_block’
2012-05-18 16:20:15 +00:00
Ludovic Rousseau
1a9fcabf89 Declare internal function usage() as static 2012-05-18 16:18:45 +00:00
Philippe Teuwen
8418ac96e6 examples remove math.h and replace pow(2, x) by 1 << x 2012-05-17 07:40:29 +00:00
Philippe Teuwen
90f41b245e examples/mifare-desfire-create-ndef.c EV1: don't change key settings and set dynamically ndef size 2012-05-15 21:22:35 +00:00
Philippe Teuwen
465a6aaaf0 examples/mifare-desfire-*-ndef add support for mapping v2.0 and EV1 2012-05-15 21:22:25 +00:00
Philippe Teuwen
0268a9f975 examples/mifare-desfire-format also resets key settings 2012-05-15 21:22:16 +00:00
Philippe Teuwen
7594b53009 Restore explicit linkage to libnfc (revert partially r1011) 2012-05-15 14:46:09 +00:00
Philippe Teuwen
9d34554270 examples/mifare-desfire-create-ndef.c prepare for DF EV1 NDEF mapping 2012-05-15 12:34:17 +00:00
Philippe Teuwen
5bec80fb07 examples/mifare-desfire-ev1*: test version to ensure we've at least an EV1 2012-05-15 11:50:10 +00:00
Romain Tartiere
3c9331f1ce Add new example: mifare-ultralight-info. 2012-05-14 14:25:57 +00:00
Romain Tartiere
6587728f5e Don't link to the libnfc (twice) since the libfreefare itself is linked against it. 2012-05-14 14:19:59 +00:00
Philippe Teuwen
e9cf48081b few missing free() 2012-03-15 09:16:55 +00:00
Philippe Teuwen
e096f1f421 fix issues in spilling ndef data to stdout and fix bug in mifare-desfire-write-ndef 2012-03-15 08:56:14 +00:00
Philippe Teuwen
23700b5cdd add mifare-desfire-read-ndef, read CC in mifare-desfire-write-ndef 2012-03-15 01:48:43 +00:00
Philippe Teuwen
0b14aa4eb2 allow input file for mifare-desfire-write-ndef & small fixes 2012-03-14 23:52:05 +00:00
Philippe Teuwen
acf5180177 add non-default key option to mifare-desfire-* examples 2012-03-14 23:05:10 +00:00
Philippe Teuwen
0a9eb8fbf2 minor changes 2012-03-14 09:54:22 +00:00
Philippe Teuwen
13bd8ff337 split mifare-desfire-write-ndef into format-ndef & write-ndef 2012-03-13 21:47:47 +00:00
Philippe Teuwen
38cd07a6c6 mifare-desfire-write-ndef: split PICC key & Tag app key 2012-03-13 20:47:25 +00:00
Audrey Diacre
512a407213 fix some indentations. 2012-01-25 13:49:55 +00:00
Audrey Diacre
4f0227ddcb update to use libnfc's trunk 2012-01-25 09:58:16 +00:00
Romain Tartiere
21008cda5d Make these functions accept no argument (instead of any). 2012-01-15 11:09:25 +00:00
Romuald Conty
f1e5413ccc Prepare libfreefare 0.3.2 2011-10-17 16:51:29 +00:00
Romuald Conty
8dd46350de mifare-classic-write-ndef could use file as NDEF content
(BTW, stdin as input is not yet implemented, any contributions are welcome.)
2011-10-11 22:24:26 +00:00
Romuald Conty
060078012f mifare-classic-read-ndef now close kindly the output stream. 2011-10-11 22:20:38 +00:00
Romuald Conty
efd0d106bc svn:keywords fix on examples/mifare-classic-read-ndef.c . 2011-09-28 15:36:08 +00:00
Romuald Conty
76d325f47b Add a new example to extract NDEF Message from a "MIFARE Classic as NFC Forum enable tag". 2011-09-22 10:16:52 +00:00