libnfc/examples
Romain Tartiere 655fdb569a Fix nfc_initiator_mifare_cmd() in examples.
In r509, a direct call to pn53x_transceive() was changed into a call to nfc_initiator_transceive_dep_bytes() which is part of the public API. The command to send was updated accordingly, but the code that extracts the response have not.

Update issue 98
This should fix the problem: because the response was not the expected length, the actual card data was not copied to the buffer, so it was always the same 16 uninitialized bytes that where returned for any block.

PR:		Issue 98
Submitted by:	zamby.ing
Pointy hat to:  me
2010-08-13 19:53:13 +00:00
..
doc 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
CMakeLists.txt Added draft of a new libnfc-based example: nfc-sam. 2010-06-15 15:05:40 +00:00
Makefile.am 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
mifare.c Fix nfc_initiator_mifare_cmd() in examples. 2010-08-13 19:53:13 +00:00
mifare.h 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
mifareultag.h Rearrange source code. 2010-04-07 14:37:19 +00:00
nfc-anticol.1 Rearrange source code. 2010-04-07 14:37:19 +00:00
nfc-anticol.c Merge the libnfc-less-bitutils-more-ponies branch into trunk. 2010-04-26 13:13:13 +00:00
nfc-emulate.1 Rearrange source code. 2010-04-07 14:37:19 +00:00
nfc-emulate.c (libnfc-less-bitutils-more-ponies) Get rid of bitutils.[hc] (part 1). 2010-04-16 16:38:57 +00:00
nfc-list.1 Rearrange source code. 2010-04-07 14:37:19 +00:00
nfc-list.c Fix build on Microsoft Windows. 2010-08-10 19:50:29 +00:00
nfc-mfclassic.1 Rearrange source code. 2010-04-07 14:37:19 +00:00
nfc-mfclassic.c 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
nfc-mfultralight.1 Rearrange source code. 2010-04-07 14:37:19 +00:00
nfc-mfultralight.c Fix build on Microsoft Windows. 2010-08-10 19:50:29 +00:00
nfc-poll.c Fix build on Microsoft Windows. 2010-08-10 19:50:29 +00:00
nfc-relay.1 Rearrange source code. 2010-04-07 14:37:19 +00:00
nfc-relay.c (libnfc-less-bitutils-more-ponies) Get rid of bitutils.[hc] (part 1). 2010-04-16 16:38:57 +00:00
nfc-sam.1 Small improvements to nfc-sam stuff. 2010-07-26 08:55:43 +00:00
nfc-sam.c Really silent down gcc with -Wextra. 2010-07-31 12:57:02 +00:00
nfc-utils.c Fix build on Microsoft Windows. 2010-08-10 19:50:29 +00:00
nfc-utils.h Do not export nfc_parse_device_desc() in libnfc API. 2010-07-22 16:13:02 +00:00
nfcip-initiator.c 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
nfcip-target.c Fix a brunch of -Wextra warnings: 2010-04-07 15:08:04 +00:00
pn53x-diagnose.c Add missing carriage return at EOF (yes, I have nothing better to do ATM). 2010-06-26 21:56:32 +00:00