Commit graph

423 commits

Author SHA1 Message Date
Romuald Conty
4f3aec28b3 Updates NEWS file 2013-01-20 17:53:38 +01:00
Romuald Conty
444a62567f Updates unit tests to use libnfc 1.7.0 2013-01-20 17:53:33 +01:00
Philippe Teuwen
8885aaa94c Debian: bump dev dep to libnfc-dev to 1.7.0 2013-01-16 08:34:56 +01:00
Philippe Teuwen
b922c8b2c9 Add debian/.gitignore 2013-01-16 08:31:53 +01:00
Philippe Teuwen
f53c41a84c Add .gitignore 2013-01-14 10:40:29 +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
Philippe Teuwen
7d26778a2c fix bug in mifare_ultralight_read() 2012-11-13 23:36:01 +00:00
Philippe Teuwen
f6fecaaa9b fix typo 2012-11-13 23:35:53 +00:00
Philippe Teuwen
60d4fca47a Tolerate older autotools 2012-06-28 23:26:14 +00:00
Philippe Teuwen
d1a6ac4a53 debian/rules don't mandate to run cutter tests when creating .deb 2012-06-01 22:19:59 +00:00
Philippe Teuwen
9302433278 debian/control: remove dependence on libnfc2 (libnfc3 dependence is automatically created) 2012-06-01 22:11:24 +00:00
Romuald Conty
dd1315321d Update to current libnfc devel API.
libnfc changed its nfc_initiator_transceive_bytes(): it now takes a const size_t used as maximal allowed rx bytes.
libnfc now checks if rx buffer is large enough to get the full response, so libfreefare should take care about whole size of its buffers.
2012-06-01 21:26:01 +00:00
Romuald Conty
a8e0b6e1e7 Support Infineon Mifare Classic 1k. (Fixes Issue 88)
Thanks to Gernoth!
2012-06-01 00:38:38 +00:00
Ludovic Rousseau
73a3eb7268 Fix spelling mistakes in manpages
Closes Issue #90
2012-05-18 16:51:51 +00:00
Ludovic Rousseau
a6675eda70 Update write_data() prototype so that the data buffer is constant 2012-05-18 16:32:47 +00:00
Ludovic Rousseau
71a5295e7d Fix compiler warnings
mifare_desfire.c:196: warning: no previous prototype for
'madame_soleil_get_read_communication_settings'
mifare_desfire.c:210: warning: no previous prototype for
'madame_soleil_get_write_communication_settings'
mifare_desfire.c:642: warning: no previous prototype for
'create_application'
2012-05-18 16:30:45 +00:00
Ludovic Rousseau
5a5e061e68 Fix compiler warning
mifare_desfire_error.c:35: warning: initialization discards qualifiers
from pointer target type
mifare_desfire_error.c:36: warning: initialization discards qualifiers
from pointer target type
etc...
2012-05-18 16:28:41 +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
4a15097d15 Update mifare_desfire_write_data() and mifare_desfire_write_data_ex()
prototypes so that the data buffer is constant
2012-05-18 16:26:37 +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
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