Open GoogleCodeExporter opened 9 years ago
Damn you copy and paste. The example code should of course have been:
FreefareContext ctx = freefare_init(FREEFARE_FLAG_READER_ALL);
for(MifareTag tag = freefare_tag_first(ctx, NO_TAG_TYPE); tag; tag = freefare_tag_next(ctx)) {
/* Actual code here... */
}
freefare_exit(ctx);
Original comment by hen...@ploetzli.ch
on 27 Feb 2014 at 3:20
Thanks a lot Henryk for your very valuable contribution!
Sorry we didn't have time yet to review your code, that's not like it can be
done in 5 mins ;-)
Thanks for your comprehension.
Original comment by yob...@gmail.com
on 13 Mar 2014 at 1:03
[deleted comment]
Henryks PC/SC interface work fine for me. Migrating existing code was quite
easy due to the simplifications made.
I want to extend `supported_tags` from freefare.c with a tag that is recognized
by calling its function `check_tag_on_reader`. I have done this for plain
libfreefare by connecting, transceiving bytes and disconnecting from the tag
(similar to is_mifare_ultralightc_on_reader). With Henryks implementation,
however, I did not find out how to connect to the tag in a non-reader-specific
way. AFAICS, the supplied FreefareReaderTag object does not allow to create a
usable MifareTag obect (Henryks wrapper mifare_ultralightc_is_on_reader is
implemented for libnfc only). Henryk, do you have any hints on that?
Original comment by frankmor...@googlemail.com
on 2 Jun 2014 at 11:56
Original issue reported on code.google.com by
hen...@ploetzli.ch
on 27 Feb 2014 at 3:19