The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RFID::Libnfc::Tag - base class for ISO14443A_106 compliant tags. You won't never use this module direcctly but all the logic common to all ISO14443A_106 tags should be placed here (and inherited by all specific tag-implementations)

SYNOPSIS

  use RFID::Libnfc;

  $tag = $r->connectTag(IM_ISO14443A_106);

DESCRIPTION

  Base class for ISO14443A_106 compliant tags

EXPORT

None by default.

Exportable functions

METHODS

  • type

    returns the specific tag type actually hooked (as string)

    can be any of:

    * ULTRA 1K MINI 4K DESFIRE JCOP30 JCOP40 OYSTER GEMPLUS MPCOS *

    (NOTE: only 4K and ULTRA are actually implemented)

  • atqa ( )

    Returns an arrayref containing the 2 atqa bytes

  • uid ( )

    Returns an arrayref containing all uid bytes

  • btsak ( )

    Returns the btsak byte (which is used to determine the tag type)

  • ats ( )

  • dump_info ( )

    Prints out all know information on the hooked tag

  • ping ( )

    Return 1 if the tag is still reachable , 0 otherwise

  • crc ( )

    Compute the crc as required by ISO14443A_106 standard

  • error ( )

SEE ALSO

RFID::Libnfc::Tag::ISO14443A_106::ULTRA RFID::Libnfc::Tag::ISO14443A_106::4K RFID::Libnfc::Tag::ISO14443A_106 RFID::Libnfc::Constants RFID::Libnfc

< check also documentation for libnfc c library [ http://www.libnfc.org/documentation/introduction ] >

AUTHOR

xant

COPYRIGHT AND LICENSE

Copyright (C) 2009-2011 by xant <xant@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.