Commit graph

30 commits

Author SHA1 Message Date
Romain Tartière
69bf99b33d Run make style to indent macros 2017-06-29 12:25:53 +02:00
Romain Tartière
94bf7059b4 Remove copyright comments.
The COPYRIGHT file is already here and is more complete, while the VCS
hold accurate information about contributors and conibution date.
2017-06-29 09:29:15 +02:00
Romain Tartière
73dc0529fa Run make style to fix style 2017-06-27 13:58:31 +02:00
Stefan Walkner
565ee18b8e Fix build with CMake
- Fix library finding ('nfc' instead of 'libnfc');
- Generate config.h from template on non-win32 platforms;
- While here, include protection for config.h in several files.
2017-04-24 09:35:08 +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
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
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
Romuald Conty
3dd6edcb3a updates library examples to use libnfc 1.7.0 API 2012-12-23 21:30:10 +00:00
Ludovic Rousseau
1a9fcabf89 Declare internal function usage() as static 2012-05-18 16:18:45 +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
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
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
22500eaaf6 Add missing Id. 2010-10-08 11:46:58 +00:00
Romuald Conty
cdac2ea340 fix mifare-desfire-write-ndef example, it now works with Nokia 6212 Classic. (Thanks to Roel) 2010-09-27 15:46:16 +00:00
Romuald Conty
fa41d85c94 since r588, mifare-desfire-write-ndef doesn't change anymore permanently settings, executing it is now reversible. 2010-09-13 09:46:51 +00:00
Audrey Diacre
2914460a13 mifare-desfire-write-ndef, allow changing configuration and the PICC master key. 2010-09-13 07:58:10 +00:00
Romain Tartiere
51269a92fa Revert r565.
r565 was misinterpreted as a bug while it's a feature.  Since it might be
inappropriate to do irreversible operations in an example, warn the user about
it.
2010-09-10 14:58:39 +00:00
Romain Tartiere
af061a3c1a Reindent (1/2).
After trying to tweak gindent so that it does not mess-up my ASCII art, give
and read the help of Vim to setup 'cinoptions' according to my needs
(cino=t0(0).  This changeset reindent some bits that where not indented as they
should.  A future commit will reindent the switch/case according to my (bad)
taste now that I have setup cindent correctly on my system (cino=t0(0:0).
2010-09-03 18:01:02 +00:00
Romain Tartiere
70f2fe2685 Do not freeze the card Master Key in mifare-desfire-write-ndef.
Since it is irreversible, the card cannot be used for e.g. running the
regression tests suite.
2010-09-03 15:56:37 +00:00
Audrey Diacre
487bc621a9 add a new example "mifare-desfire-write-ndef" that put a simple NDEF content on DESFire. 2010-09-03 14:36:17 +00:00