RFID::Libnfc::Tag::ISO14443A_106::ULTRA Specific implementation for mifare ultralight tags
use RFID::Libnfc; $tag = $r->connectTag(IM_ISO14443A_106); # so the 2-level cascade selection process as specified in M028634_MF0ICU1_Functional_Spec_V3.4.pdf $tag->select()
Base class for ISO14443A_106 compliant tags
None by default.
Returns the data contained within the block number $block
NOTE: read operations on ultrlight will return back 16 bytes, even if a single block is 4 bytes wide. Remember also about the "roll back" property described in chapter 6.6.4 of the spec document : M028634_MF0ICU1_Functional_Spec_V3.4.pdf So , If you are reading one of the last three blocks, you will get data also from the first ones , since always 4 blocks are read.
(for instance. if you read block 15, you will get back data from 15, 1, 2 and 3)
Writes $data into $blocknum. Remember that ultralight cards have 4byte blocks so whatever you pass as $data will be truncated to 4 bytes
On ultralight token read_sector is only an alias for read_block since on such cards 1 sector (called also 'page' within the specs) is exactly 1 block
On ultralight token write_sector is only an alias for write_block since on such cards 1 sector (called also 'page' within the specs) is exactly 1 block
Returns the number of blocks present on the card
Returns the number of sectors present on the card
Returns a representation of the aclbits. (boths page-locking bits and block-locking bits)
implements the 2-level cascade selection process
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 ]
xant
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.
To install RFID::Libnfc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RFID::Libnfc
CPAN shell
perl -MCPAN -e shell install RFID::Libnfc
For more information on module installation, please visit the detailed CPAN module installation guide.