Commit graph

552 commits

Author SHA1 Message Date
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
Ludovic Rousseau
a878149663 Fix compiler warning
freefare_internal.h:359:5: warning: "_BYTE_ORDER" is not defined
freefare_internal.h:359:20: warning: "_LITTLE_ENDIAN" is not defined
2012-05-18 16:06:46 +00:00
Ludovic Rousseau
f0a1247693 Fix compiler warnings
mad.c:131: warning: no previous prototype for 'nxp_crc'
mad.c:147: warning: no previous prototype for 'sector_0x00_crc8'
mad.c:162: warning: no previous prototype for 'sector_0x10_crc8'
2012-05-18 16:04:42 +00:00
Ludovic Rousseau
78fea850c9 warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') 2012-05-18 16:03:07 +00:00
Ludovic Rousseau
41f979c21d warning: 'libutil.la': linking libtool libraries using a non-POSIX
archiver requires 'AM_PROG_AR' in 'configure.ac'
2012-05-18 16:01:52 +00:00
Ludovic Rousseau
a13615e295 autoupdate using autoupdate (GNU Autoconf) 2.69 2012-05-18 15:59:00 +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
ce902387aa Typos 2012-05-14 14:28:07 +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
Romain Tartiere
3734ab437c New test: test_mifare_classic_format_first_sector(). 2012-05-14 14:11:26 +00:00
Romain Tartiere
1da39d9273 Consistently sort out targets. 2012-05-14 14:05:31 +00:00
Romain Tartiere
5f7d558bbe Remove unused variable. 2012-05-14 14:01:08 +00:00
Romain Tartiere
c41b8aa340 Avoid void* arithmetic GCC extension. 2012-05-14 13:59:09 +00:00
Romain Tartiere
07c5c78a8e Fix wrong variable usage. 2012-05-14 13:58:06 +00:00
Romain Tartiere
fe5e7f3016 Fix signed/unsigned comparison. 2012-05-14 13:57:20 +00:00
Romain Tartiere
add31226ab Add an exception to the LGPL. 2012-05-10 14:36:36 +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
Romuald Conty
f690ce7411 prepare libfreefare 0.3.4 2012-03-01 17:51:15 +00:00
Romain Tartiere
3a0b70c8a9 Fix Mifare Ultralight C card detection routine (Fixes Issue 86). 2012-03-01 17:42:57 +00:00
Romuald Conty
1ac76e6d16 prepare libfreefare 0.3.3 2012-03-01 15:19:28 +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
Romain Tartiere
3ab44974ca Fix inconsistencies in man pages (missing quotes, typos). 2012-01-15 11:07:32 +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
Romain Tartiere
68ef944cd0 Make freefare_tag_new() public (Fixes issue 64). 2011-09-29 14:10:07 +00:00
Romuald Conty
efd0d106bc svn:keywords fix on examples/mifare-classic-read-ndef.c . 2011-09-28 15:36:08 +00:00
Romain Tartiere
0a7ce855b8 Sync w/ libnfc-1.5.1. 2011-09-22 13:05:07 +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
Romuald Conty
bb113d5b28 Minor TLV manpage fix. 2011-09-22 10:15:18 +00:00
Romuald Conty
bc13a6a1b2 Improve devian package (Thanks to Thomas Hood) 2011-09-13 10:50:09 +00:00
Romuald Conty
2b8c29a70f add libssl-dev to Build-Depends (in debian/control). (Fixes Issue 73) 2011-09-12 22:56:25 +00:00